在模块mscorlib.dll中找不到System.ApplicationException类型在使用Matlab dll的Windows Store App中出现错误 [英] Cannot find type System.ApplicationException in module mscorlib.dll Error in Windows Store App while using Matlab dll

查看:285
本文介绍了在模块mscorlib.dll中找不到System.ApplicationException类型在使用Matlab dll的Windows Store App中出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为自己的使用制作一个图像处理应用程序,我不想放在存储上。我想在Windows商店应用程序中使用我预先设计的Matlab代码。在项目中使用dll时,会显示错误 -



在模块mscorlib.dll中找不到System.ApplicationException类型

解决方案

这个异常的最可能原因是您引用的DLL或它们的依赖关系不受WinRT支持

尝试使用 LoadPackagedLibrary GetProcAddress 加载DLL。如果您不能,那么Matlab DLL需要使用WinRT SDK进行编译。


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

解决方案

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.

这篇关于在模块mscorlib.dll中找不到System.ApplicationException类型在使用Matlab dll的Windows Store App中出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆