003
14.05.2004, 16:17 Uhr
rene rosenberger
|
Code: |
WinExec("c:\\windows\\explorer.exe", SW_SHOW)
|
oder
Code: |
void CMainFrame::OnHilfeLinkzumforum() { STARTUPINFO si; PROCESS_INFORMATION pi;
char *programm = "C:\\Programme\\Internet Explorer\\iexplore.exe www.Forum.de";
ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); ZeroMemory( &pi, sizeof(pi) );
// Startet den neuen Prozess CreateProcess( NULL, // No module name (use command line). programm, // Command line. NULL, // Process handle not inheritable. NULL, // Thread handle not inheritable. FALSE, // Set handle inheritance to FALSE. 0, // No creation flags. NULL, // Use parent's environment block. NULL, // Use parent's starting directory. &si, // Pointer to STARTUPINFO structure. &pi ); // Pointer to PROCESS_INFORMATION structure. }
|
gruesse rene -- gruesse rene |