Please help: Standalone application NOT working on Windows 7
5 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 12 Apr 2013
6 Comments
Friedrich
on 26 Apr 2013
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.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!