CompuServe Thread

WinExec crashes MFC

1 messages in this thread
#30325From: Barry E. KingJul 8, 1994 5:31 PM
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