CreateProcess() & Logo Compliance
Just a quick heads up, the CreateProcess() is now obsolete, and is not compliant with the Windows '95 & NT logo programs.
For the details, see the MSJ article at http://www.microsoft.com/MSJ/0299/ednote0299top.htm
and the real logo page at http://msdn.microsoft.com/winlogo/win2000.asp
Instead use ShellExecute()
Here’s a quick example:
if( ( hRc = ShellExecute( AfxGetMainWnd()->GetSafeHwnd(),
"open",
szProgramName,
szCommandLine,
szWorkingDir,
SW_SHOW ) ) <= (HINSTANCE)32 )
{
// Message that it failed.
}