Help on external process invokation in VC++



Hi,

I have an existing VB program that invokes an external VC++ program using Shell command. The VC++ program uses ParseCommandLine() and ProcessShellCommand() MFC APIs to execute the request from VB. Now I need to go the other way, i.e. have a VC++ program to invoke an external VB program with command line arguments. Could any one please tell me what's the API in VC++ to invoke an exernal program and what's the APIs in VB to parse the command line arguments and execute the command?

Your help is greatly appreciated.

Thanks,
Chaw-Chi Yu
.


Loading