MyExec, calls CreateProcess, waits for completion. WinBase

/ Published in: C++
Save to your folder(s)

I occasionally need a WinExec function the synchronously executes a command. cwdArg may be null.

This example, upon error, pops-up a dialog and exits the app. This is useful for small installation utilities., with or without MFC.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.