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.

This entry was posted in C++ CX, WinRT. Bookmark the permalink.