|
From: Kevin W. <ke...@me...> - 2002-03-17 20:26:51
|
Try the CreateProcess function instead. The following is from the Win32 SDK: ............... WinExec Remarks Win32-based applications should use the CreateProcess function rather than this function. The WinExec function exists in Win32 to provide compatibility with earlier versions of Windows. For more information about how the WinExec function is implemented, see the Remarks section of the LoadModule function. In Win32, the WinExec function returns when the started process calls the GetMessage function or a time-out limit is reached. To avoid waiting for the time out delay, call the GetMessage function as soon as possible in any process started by a call to WinExec. ..................... Kev. ----- Original Message ----- From: christiaan scholtz <ck...@ia...> To: <dev...@li...> Sent: Sunday, March 17, 2002 10:28 AM Subject: [Dev-C++] winexec how do i start an external program from my program? I tried wineexec and its error code returns success but i dont see the program! --- cut --- |