I am trying to include an library which has openVino reference through WinRT to my UWP GUI app. Its a simple app where I click a button , the openVino call has to be made in the library and return a response.
When i do this, i am getting the below exception.The project works perfectly fine when i remove the openVino references. Any leads would be appreciated
Message=The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
at App2.MainPage.<Button_Click>d__1.MoveNext() in C:\Code\My Exp\UWPUIApp\App2\MainPage.xaml.cs:line 33
Thanks for reaching out.
The error you encountered might probably be caused by incorrect .dll path or missing .dll dependencies.
I suggest you try any of the following:
- Ensure the .dll path is correct
- Find correct external libraries that have all the supporting .dll in the bin directory
- If you are using Visual Studio try checking properties - advanced - enable the copy content to the output directory
Do have a look at the following link which contains a workaround for a similar issue:
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.