Original Post
Hello,
I just found out the WinExec function, only works on 16-bit programs,
and I am trying to launch Internet Explorer with
CreateProcess. This is what I have so far, yet, it still
does not work. Can anyone let me know where I went wrong.
Thanks for your help
/* CODE SNIP */
STARTUPINFO StartupInfo;
PROCESS_INFORMATION ProcessInfo;
memset(&StartupInfo, 0, sizeof(StartupInfo));
StartupInfo.cb = sizeof(STARTUPINFO);
StartupInfo.dwFlags = STARTF_USESHOWWINDOW;
StartupInfo.wShowWindow = SW_SHOW;
CreateProcess("IEXPLORER.EXE", NULL, NULL, NULL, FALSE,
CREATE_DEFAULT_ERROR_MODE,
NULL,
"C:\\PROGRAM FILES\\INTERNET EXPLORER",
&StartupInfo,
&ProcessInfo);