locked
How to build & distribute a library/DLL to be used by multiple Metro Style Apps RRS feed

  • Question

  • How to build & distribute a library/DLL to be used by multiple Metro Style Apps

    We have an advanced math library that we distribute in the form on static library as well as DLL in Windows versions older than Win8.

    Now, we want to distribute the library for Win8 as well so that multiple Metro Style Apps can use them. How do we do that?

    In what form should we build the library? Can I build the library in the form of a DLL and install in the Win8 system so that Metro Style Apps can use them (using a header file and interface library)? Is there a special process of installation required?

    Thanks.

    • Moved by mark_1h Monday, May 7, 2012 8:01 PM in Wrong Forum Topic (From:Windows Store: Publishing Metro Style apps for Windows 8)
    Monday, May 7, 2012 12:10 PM

Answers

  • Hi Himanshu.Bhalla,

    You would need to distribute the library to your developer customers and then they would include it in their app package. Metro style apps cannot reference arbitrary libraries from outside of their app package.

    The library would need to use only the Win32 API allowed for Metro style apps as it would be need to pass the Windows App Cert Kit along with the app that was calling it. For a pure math library that shouldn't be a significant issue, but you'll need to make sure you don't build against an old C-runtime version that cannot pass.

    --Rob

    Wednesday, May 9, 2012 1:45 AM
    Moderator