locked
what project type is "ToasterServer" in this sample "DllServerAuthoring"

Answers

All replies

  • Seems to be a WRL project. The Metro App support may have been enabled via manually editing the project file and not via the GUI.

    http://blog.voidnish.com

    Thursday, March 8, 2012 11:28 PM
  • Thanks for your response.

    do you know how it's been done? What is the project type to start with and how to change it so it builds for metro?

    Jennifer

    Friday, March 9, 2012 5:12 PM
  • You could choose one of "Blank Dynamic-Link Library" or "WinRT Component Dll" and then manually set "Consume Windows Runtime Extension" to No. You'll find that Metro Style App Support is grayed out for the project in either case.

    http://blog.voidnish.com

    Friday, March 9, 2012 5:29 PM
  • no.

    It's more like atl-dll project, but exactly as well. The .idl of ToastServer is compiled differently than the atl-dll project's .idl.  

    Friday, March 9, 2012 8:05 PM
  • It seems the only difference is that for the .idl file, the compiler has a setting: Enable Windows Runtime which is set to Yes. This adds a  /winrt command line switch.

    http://blog.voidnish.com

    Saturday, March 10, 2012 6:05 PM
  • If you haven't seen these yet, there were 4 new WRL How To: articles posted in the Consumer Preview refresh.

    Windows Runtime C++ Template Library / Fundamental Tasks


    David Lamb


    Tuesday, March 13, 2012 3:34 PM
    Moderator
  • No, I haven't seen those. Thanks for the link. It's very useful.

    Jennifer

    Tuesday, March 13, 2012 3:55 PM