Category Archives: C++ CX

Solution for blurry rendering with DirectX11 on Windows Phone 8

If you experienced a global blurry rendering on your screen when you use DirectX11 on your Windows Phone 8, you probably fails a thing : The swapchain size must be the screen size (means portrait), not the landscape size. So … Continue reading

Posted in C++ CX, DirectX 11, Smartphone, Windows Phone 8 | Leave a comment

Solution for Error ERROR_DLL_INIT_FAILED while Loading winmd file in Windows RT

If you experienced the Exception : Error in the DLL (Exception from HRESULT: 0x8007045a (ERROR_DLL_INIT_FAILED)) The solution is simple : You have to remove the main function.(I know, why the fonction “main” is called with DLL? idk :))

Posted in C++ CX, WinRT | Leave a comment

Solution for Error CO_E_ERRORINDLL while Loading winmd file in Windows Phone 8

If you experienced the Exception : Error in the DLL (Exception from HRESULT: 0x800401F9 (CO_E_ERRORINDLL)) The solution is simple : You Must Add the _WINRT_DLL flag in the compiler definitions.

Posted in C++ CX, WinRT | Leave a comment

Resolve the “‘Microsoft.Advertising.WinRT.UI.winmd’ contains duplicate types names”

Hi everybody, I recently had an issue with the Microsoft Advertising SDK for WinRT. I can’t compile without an error  (I found a tip – remove reference/compile/add reference/compile – but I can’t compile for making an app package). The famous … Continue reading

Posted in C++ CX, WinRT | 1 Comment