locked
About lpwLibFileName parameter of LoadPackagedLibrary

    Question

  • According to the MSDN help, absolute path and relative path that contains ".." can not be used for the first parameter, lpwLibFileName.

    If my custom DLL is located in somewhere under C:\Users\[username]\AppData\Local\Packages\[packagename]\TempState\,

    am I able to load the DLL by using LoadPackagedLibrary()?

    If it is, would you show me a sample path?

    Thanks,

    Guile

    Wednesday, December 12, 2012 11:48 AM

Answers

  • Hi,

    The Windows Store App is running in sandbox, we cannot access the data file and folder of other application.

    We should public the DLL with your application, so that we can use loadpackagelibrary to load it.

    Best regards,
    Jesse


    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Jesse Jiang Tuesday, December 18, 2012 5:30 AM
    Friday, December 14, 2012 2:11 AM