Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A question for the advanced programers Pin
Magius9614-Dec-02 1:18
Magius9614-Dec-02 1:18 
GeneralRe: A question for the advanced programers Pin
Magius9614-Dec-02 1:21
Magius9614-Dec-02 1:21 
GeneralRe: A question for the advanced programers Pin
Taka Muraoka14-Dec-02 1:32
Taka Muraoka14-Dec-02 1:32 
GeneralRe: A question for the advanced programers Pin
Magius9614-Dec-02 2:13
Magius9614-Dec-02 2:13 
GeneralRe: A question for the advanced programers Pin
Taka Muraoka14-Dec-02 2:18
Taka Muraoka14-Dec-02 2:18 
GeneralRe: A question for the advanced programers Pin
Magius9614-Dec-02 3:25
Magius9614-Dec-02 3:25 
GeneralRe: A question for the advanced programers Pin
Taka Muraoka14-Dec-02 3:33
Taka Muraoka14-Dec-02 3:33 
GeneralRe: A question for the advanced programers Pin
Todd Smith14-Dec-02 17:24
Todd Smith14-Dec-02 17:24 
STARTUPINFO si = {0};
PROCESS_INFORMATION pi = {0};
si.cb = sizeof(si);

int rv = CreateProcess(0, pCmdLine, 0, 0, 0, 0, 0, 0, &si, &pi);
if (rv)
{
    WaitForSingleObject(pi.hProcess, INFINITE);
    CloseHandle(pi.hProcess);
    CloseHandle(pi.hThread);
}


You made it this far. Why not just search google.com, msdn.microsoft.com, or THIS site for CreateProcess?

Todd Smith
GeneralRe: A question for the advanced programers Pin
Magius9615-Dec-02 7:14
Magius9615-Dec-02 7:14 
GeneralFile type icons Pin
Jörgen Sigvardsson13-Dec-02 23:13
Jörgen Sigvardsson13-Dec-02 23:13 
GeneralRe: File type icons Pin
ColinDavies14-Dec-02 0:07
ColinDavies14-Dec-02 0:07 
GeneralRe: File type icons Pin
Jörgen Sigvardsson14-Dec-02 0:31
Jörgen Sigvardsson14-Dec-02 0:31 
GeneralRe: File type icons Pin
Jörgen Sigvardsson14-Dec-02 1:13
Jörgen Sigvardsson14-Dec-02 1:13 
GeneralRe: File type icons Pin
Magius9614-Dec-02 1:24
Magius9614-Dec-02 1:24 
GeneralRe: File type icons Pin
Gary R. Wheeler14-Dec-02 4:37
Gary R. Wheeler14-Dec-02 4:37 
GeneralRe: File type icons Pin
Jörgen Sigvardsson14-Dec-02 6:19
Jörgen Sigvardsson14-Dec-02 6:19 
GeneralRe: File type icons Pin
Gary R. Wheeler15-Dec-02 2:21
Gary R. Wheeler15-Dec-02 2:21 
GeneralRe: File type icons Pin
Jörgen Sigvardsson15-Dec-02 2:50
Jörgen Sigvardsson15-Dec-02 2:50 
GeneralRe: File type icons Pin
Michael Dunn14-Dec-02 4:40
sitebuilderMichael Dunn14-Dec-02 4:40 
GeneralRe: File type icons Pin
Jörgen Sigvardsson14-Dec-02 6:19
Jörgen Sigvardsson14-Dec-02 6:19 
QuestionHow Do I Test If A File Is Open By Another Process? Pin
John Clump13-Dec-02 23:08
John Clump13-Dec-02 23:08 
AnswerRe: How Do I Test If A File Is Open By Another Process? Pin
Nick Parker14-Dec-02 1:50
protectorNick Parker14-Dec-02 1:50 
Generaldialogs not rendering (painting) immeditatly Pin
cleathley13-Dec-02 22:22
cleathley13-Dec-02 22:22 
GeneralRe: dialogs not rendering (painting) immeditatly Pin
Ravi Bhavnani14-Dec-02 10:55
professionalRavi Bhavnani14-Dec-02 10:55 
GeneralCOM + object pooling in VC7 Pin
Christian Graus13-Dec-02 21:44
protectorChristian Graus13-Dec-02 21:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.