Answer the question
In order to leave comments, you need to log in
How to pass as a string to open a process?
Good afternoon!
CreateProcess(NULL,(LPTSTR)"E:\\sp\\Debug\\slave.exe ",NULL,NULL,FALSE,CREATE_NEW_CONSOLE,NULL,NULL,&si,&pi);
cout << "Master PID number : " << pi.dwProcessId << endl;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question