locked
What's the difference between this two kinds of implementation of DLL?

    Question

  • Dear Sir,

    I'm confused about these two kinds of of implementation of DLL.

    The first one is using template of "WinRT DLL component" project.

    The second one is like sample code "DLL server authoring", which implement ".idl" and ".def" file.

    Do they have some restrictions on using them ? 

    Thanks a lot.

    ChikC

    Monday, January 09, 2012 1:53 PM

Answers

  • @ChickC

    The DLL Server Authoring sample is a sample using the Windows Runtime C++ Template Library. If you notice, the C++/CX extensions are not enabled in the project (under C/C++ / General / Enable Windows Run Time Extensions). There is currently very sparse documentation in this area. The end result is a WinRT DLL in either case you mentioned. The Visual C++ team has a blog where they have an overview here.

     

    Thanks,

    -David

     

     

    • Marked as answer by ChikC Wednesday, January 11, 2012 3:15 AM
    Tuesday, January 10, 2012 10:11 PM
    Moderator

All replies

  • @ChickC

    The DLL Server Authoring sample is a sample using the Windows Runtime C++ Template Library. If you notice, the C++/CX extensions are not enabled in the project (under C/C++ / General / Enable Windows Run Time Extensions). There is currently very sparse documentation in this area. The end result is a WinRT DLL in either case you mentioned. The Visual C++ team has a blog where they have an overview here.

     

    Thanks,

    -David

     

     

    • Marked as answer by ChikC Wednesday, January 11, 2012 3:15 AM
    Tuesday, January 10, 2012 10:11 PM
    Moderator
  • Hi David,

     Thanks for your reply, I will read the document first for further insight.

     

    Chik

    Wednesday, January 11, 2012 3:17 AM