From: ImageAnalyst on 14 May 2010 19:45 On May 14, 4:27 pm, "Matthew Whitaker" > Try this. If you have a -e in your mcc command replace it with a -m. This should result in a dos window opening with your app. That dos window should get all the output. I'm assuming you are running a Windows system here. -------------------------------------------------------------- Yes, but when the program crashes, that OS command window goes away. There are two more ways to solve this: 1. Open an operating system command window (start/run/cmd) and launch the executable from that command line. This window will stay up when the program crashes and you can inspect for error messages. 2. Launch the executable from the MATLAB command window by changing to the folder where it lives and putting an exclamation point in front of it, like this !myApp.exe. Error messages will get reported to the MATLAB command window. Finally, you should check your program for missing dependencies with dependency walker (http://www.dependencywalker.com/). Despite the MCR installer saying it needs to install Microsoft VC runtime library, it doesn't seem to install everything that is needed (such as msvcrt80.dll and msvdrt90.dll, as dependencywalker proves), and you need to download and install it yourself. I don't have the link on this particular computer but I think it might be http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en |