locked
Is there any diffirence between Metro dll project and WinRT Component dll project in vs2012? RRS feed

  • Question

  • There are two kinds of dll project in vs2012,metro dll project and WinRT component project? What scenario should I create a metro dll and when could I create a WinRT component?

    Friday, June 8, 2012 9:45 AM

Answers

  • A DLL project is a classic DLL which can be called from a C++ app or p-invoked from a .Net app. It cannot be used at all in a JavaScript app. A Windows Runtime Component is a component which can be projected in to any of the languages used for Metro style apps including JavaScript and .Net as well as C++.

    See Creating Windows Runtime Components for more information on Windows Runtime Components.

    --Rob

    Friday, June 8, 2012 9:54 PM
    Moderator