Result = CreateProcess ( "\\test\\test.exe", // pointer to name of executable module NULL, // pointer to command line string NULL, // pointer to process security attributes NULL, // pointer to thread security attributes false, // handle inheritance flag 0, // creation flags NULL, // pointer to new environment block "\\test", // pointer to current directory name &StartupInfo, // pointer to STARTUPINFO &ProcessInformation // pointer to PROCESS_INFORMATION );
if (!Result) { // Failed to Create Process }else { // Process Created } }
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.