Click here to Skip to main content
15,900,724 members
Articles / Desktop Programming / MFC

CreateProcess() and wait for result

Rate me:
Please Sign up or sign in to vote.
4.20/5 (8 votes)
2 Mar 2012CPOL 151.8K   20  
A general function using MFC that runs a command using CreateProcess(), waits for it to terminate, and returns its ExitCode.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions