Getting access denied error when accessing a dll in a metro app RRS feed

  • Question

  • We are developing an windows 8 metro application.In development we are using a function from a c++ dll and it is located in a folder under C:\ .When running the application we are getting following error: "System Dll Not Found Exception :Access is denied(Exception from HRESULT 0x80070005)"
    Friday, October 31, 2014 6:16 AM


  • You need to include the DLL in your app package and reference it there. Windows Store apps cannot see or reference DLLs in arbitrary folders elsewhere.

    The DLL will also need to be valid for use in a Windows Store app and not use functions which are not available to Windows Store apps.

    Friday, October 31, 2014 6:53 AM