locked
How I can make a platform agnostic C++ WinRT Component?

    Question

  • If i want to create a C++ WinRT component. You have three platform which are x86/x64/ARM and each platform generates different dlls and winmd files (winmd differences are very minimal).

    Now i have an AnyCPU C# project and i want to reference that C++ WinRT components. How do i do that?

    For P/Invoke, you can use LoadLibrary trick to load right platform native dll. But Metro application references winmd file instead of write P/Invoke definitions. So, i'm wondering that how i can make platform agnostic C++ WinRT component.

    Thursday, March 08, 2012 7:44 PM

Answers

All replies