Answered Using new WinRT APIs in Desktop app

  • Thursday, September 13, 2012 3:24 PM
     
      Has Code

    Although MSDN API documentations mentioned that some WinRT APIs are applies to both Windows Store apps & desktop apps but I am not getting these APIs in desktop apps.

    How can I shall use WinRT APIs in desktop apps ?

    I tried following ways in Visual studio 2012 Ultimate RC.

    using namespace Windows::Networking::Sockets;
    #include <windows.networking.sockets>
    #using <Windows.Storage.winmd>
    I think I have to 'Add Reference' something. So I would like to know what actually have to do and how ? Is there any guidelines available ?




All Replies