|
Is there an equivalent of the system() C function in MFC?
36. When you surround an army, leave an outlet free.
...
Do not press a desperate foe too hard.
SUN-TZU - Art of War
|
|
|
|
|
system does exist in VS2003+ libraries - I cant remember the details but its http://msdn.microsoft.com/en-us/library/277bwbdz(v=vs.80).aspx[^]
try using
::system(command);
that being said, I'd use CreateProcess API instead - it give much more control .. as for the 'MFC' part of your question, MFC is just a higher order level of classes/abstractions anyway
|
|
|
|
|
Or perhaps ShellExecute.
Steve
|
|
|
|
|
gawd - getting old (just turned 0x30) - memory slipping, lining up spot on park bench
'forgot that one'
ta
|
|
|
|
|
|
Well there is this[^], but it has nothing to do with MFC.
|
|
|
|
|
Yep, Richard is completely correct, the system call has nothing to do with MFC. +5
|
|
|
|