Is your project a 32 bit project or a 64 bit project? Is the MWArray.dll that you are adding the 32 bit version or the 64 bit version?
"Exception from HRESULT: 0x8007000B "
3 次查看(过去 30 天)
显示 更早的评论
I am using an 64 bit Windows OS. Which has MATLAB 64 bit installed. I added MWArray.dll to my project in Visual studio 2013. When I run the web application I get the following exception:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Previously this worked in a 32 bit windows OS. Which has a 32 bit Matlab installed. And the Visual studio version is 2010. Is this error caused due to 64 Bit Matlab ?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!