CreateProcess Function
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi I want to use CreateProcess Function, but this function not work true (not execute my .exe file). :rose: Thanks a lot.
-
Hi I want to use CreateProcess Function, but this function not work true (not execute my .exe file). :rose: Thanks a lot.
Hi, I used the function CreateProcess in many applications.I can even start an ATL Service! The code goes like this . STARTUPINFO suinfo; memset(&suinfo,0,sizeof(suinfo)); PROCESS_INFORMATION procinfo; BOOL result; for(int i=0;i<10;i++) { result=CreateProcess("","",0,0,FALSE,NORMAL_PRIORITY_CLASS,0,0,&suinfo,&procinfo); if(result) { cout<<"Client process created\n"; } else { cout<<"Failed to create the client process\n"; exit(0); } } This will work ! Y.Yamini Devi