Cannot find type System.ApplicationException in module mscorlib.dll Error in Windows Store App while using Matlab dll

馋奶兔 提交于 2020-01-24 17:17:25

问题


I am making an Image processing App for my own use which I don't want to put on store. I want to use my pre designed Matlab codes in that windows store app. When using the dlls in my project, it displays the error -

Cannot find type System.ApplicationException in module mscorlib.dll


回答1:


Most probable cause for this exception is the DLLs which you are referencing or their dependencies are not supported by WinRT

Try to use LoadPackagedLibrary or GetProcAddress to load DLLs. If you cannot then Matlab DLL needs to be compiles with WinRT SDK.



来源:https://stackoverflow.com/questions/24217509/cannot-find-type-system-applicationexception-in-module-mscorlib-dll-error-in-win

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!