Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using CreateProcess

Status
Not open for further replies.

nicasa

Programmer
Feb 3, 2003
54
ES
Hi There,

I am trying to call an app from another app at run time using:

CreateProcess(file,
parameters,
NULL,
NULL,
TRUE,
NORMAL_PRIORITY_CLASS,
NULL,
NULL,
&StartupInfo,
&ProcessInfo)

I will need to pass 2 parameters along with the called application but do not know how to pass the parameters within this win API function call. I know that the 'parameters' argument is char *, but how to pass more than one ?

Does anyone know ?

regards,

Steven Matthews

 
pass it as a comma separated string and parse it on the receiving end.

tomcruz.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top