Search code examples
c++comatlwindows-phone-8

windows phone 8 and ATL


I'm kinda new to WP8 development and I have to reuse huge legacy codebase (C++, ATL, WIN32). Is there ATL support for Windows Phone 8? Or what?


Solution

  • C++ and some of Win32 is supported on Windows Phone 8. Some COM functions are supported (as WinRT is using COM under the hood), but there's no ATL support that I'm aware of. There are also some WinRT functions available in C++ you can use.

    You'll probably have to use a C# XAML UI layer (or C++ DirectX if you want), with a WinRT bridge layer to your C++ code, which will need to be compiled against the Windows Phone 8 headers and libraries.

    See MSDN Windows Phone 8 API reference for more details.