Please help: Standalone application NOT working on Windows 7
古いコメントを表示
Hi, I have compiled a standalone application using Matlab 2008b release. The application goes out with MCR7.9 version. My operating system is 32-bit Windows XP. Now, if I deploy this application on a customer's system running on Windows XP, it works fine. If I deploy this application on another customer's system running on 64-bit Windows7 with no Matlab already installed, it installs MCR 7.9 and works fine. But if customer's system is running on 64-bit Windows7 and has Matlab release 2008b already installed on it, the stand-alone application installs MCR 7.9 but doesn't successfully get executed. It shows following error on DOS prompt:
" My Own Exception: Fatal error finding symbol mxCalcSingleSubscript_700 in C:\Windows\system32\libmx.dll Error: "
I can not find any duplicate libmx.dll file in C:\Windows\system32\ directory. The PATH environment variable seems to be correctly set to 'C:\Program Files\MATLAB\MATLAB Compiler Runtime\v79\bin\win32' where I can see libmx.dll file.
Why is MCR looking at C:\Windows\system32\ directory for libmx.dll file?
I am not sure what is going wrong. Two customers using windows 7 and Matlab already installed on their system reported same error related to libmx.dll.
Can someone please help?
Regards,
Sourabh
2 件のコメント
Walter Roberson
2013 年 4 月 12 日
Have you tested with Dependency Walker ?
回答 (1 件)
Image Analyst
2013 年 4 月 12 日
0 投票
6 件のコメント
Image Analyst
2013 年 4 月 12 日
Try finding the MSVCR80.DLL, HPPRFILER.DLL, and IBFS32.DLL files somewhere on your source computer. Then copy them to the Windows/system32 folder of the target computer. See if that works. If not, come back here with new information.
Friedrich
2013 年 4 月 12 日
He needs to do a runtime profile. That static analysis is useless in 95% of the cases and missleading.
Sourabh
2013 年 4 月 22 日
Image Analyst
2013 年 4 月 22 日
I would send him those files.
Amro
2013 年 4 月 23 日
IESHIMS.dll can be safely ignored
Friedrich
2013 年 4 月 26 日
NO!!!! Copying the DLL's wont help at all. The MSVCR80.DLL is a delay load dependency which is loaded at runtime. Delete that copied file ASAP and do a runtime profile and not a static analysis:
- download the dependencywalker here: http://www.dependencywalker.com/ (make sure the bitness of dependency walker matches the bitness of you compiled application)
- extract the archive and start the dependencywalker
- choose File -> open and select your application
- choose Profile -> start profiling (if this is greyed out, you downloaded the wrong bittedness of dependency walker. Start with i.) again)
- a window pops up
- press okay
- your applications should start/crash now
- after your application finished running/crashing choose File -> save as
- zip and upload the DWI file somewhere and post the link.
カテゴリ
ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!