:
How can I Run( Execute ) another application( Calc.exe ) from another
application in VC++?
I mean, is there any API or Function to do it?
Appreciate...
http://msdn2.microsoft.com/en-us/library/bb762153.aspx
#include <shellapi.h>
int main(void)
{
ShellExecute(0,0,"calc.exe",0,0,SW_SHOWNORMAL);
}
There's also a "ShellExecuteEx" function you might want to take a look at.
That's the last platform-specific question I'll answer here -- direct
further questions to a Microsoft programming newsgroups, or send me an e-
mail and I'll help you out with any little problems.
--
Tomás Ó hÉilidhe