News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Would this work INVOKE WaitForInputIdle

Started by gavin, July 12, 2005, 11:31:31 AM

Previous topic - Next topic

gavin

Hi guys.

I have a slight problem.

Im running an app with a command line like this.

invoke GetStartupInfo,ADDR startupinfo

invoke CreateProcess,ADDR FileName,ADDR command,NULL,NULL,NULL,\
NORMAL_PRIORITY_CLASS,\
NULL,NULL,ADDR startupinfo,ADDR processinfo
invoke CloseHandle,processinfo.hThread



C:\Program Files\Valve\Steam\Steam.exe thats the program and when i add the command line

-applaunch 10 +connect  this tells steam to start another program after it has loaded .

So how would i do this?


The applaunch tells steam to run a program called counter strike.

Thanks alot.

sluggy

Use ShellExecuteEx instead as it gives you the option of specifying arguments to go on the command line.

gavin