locked
How win32 dll using metro style C++ namespace?

    Question

  • Hi all:

    I don't know how to include Metro C++ library in win32 DLL, like using namespace Windows::Storage; .

    I always have red under line in the namespace.

    thx.



    Monday, April 23, 2012 8:53 AM

Answers

  • Hi,

    You should create the metro style DLL to using the WinRT component.
    Templates->Visual C++->Windows Metro style->WinRT component DLL.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by Jesse Jiang Tuesday, May 1, 2012 8:14 AM
    Tuesday, April 24, 2012 2:43 AM