Page 1 of 1

WaitRun function

Posted: Mon Nov 28, 2005 7:50 am
by pawelu
Hello,

how to use WaitRun or other function on PocketPc running external program with switch eg. program.exe /p1 /p2 /p3 ?

Thanks,
Pawel

Posted: Mon Nov 28, 2005 9:06 am
by Antonio Linares
Pawel,

You may directly use ShellExecute:

ShellExecute( oWnd:hWnd, "open", CurDir() + "\tutor02", "/p1 /p2 /p3" )