CompuServe Messages

WinExec crashes MFC

    08-Jul-94 17:31:41
Sb: WinExec crashes MFC
Fm: Barry E. King 71760,3165
To: All
I am attempting to launch an MFC application from another (non-MFC) application using WinExec(). I pass a command line parameter along with the name of the MFC application's executeable. Standard stuff, right? however, the MFC application crashes somewhere in Kernel at an address which I do not recognize. The stack trace is almost useless in that the code doesn't actually ever reach the CWinApp derived InitInstance code. Drag and drop works fine as does what I assume is the shell execute that File Manager uses. Any ideas? Barry