For some reason this doesnt work
invoke CreateProcess,application_path,commandline_buffer,0,0,FALSE,NORMAL_PRIORITY_CLASS,0,0,sinfo,pinfo
Has anyone got any idea why commandline_buffer is not being recieved by application, Im testing by using MessageBox to show the command line paramters , they show ok when I drag and drop a file onto the application, but come up blank when I use the createprocess as above
app shows a commandline string when I drag and drop a file onto it, but when I use createprocess the "commandline_buffer" doesnt show in the messagebox, ie blank !!!! ???
got me stumped, thanks in advance for any help !
I did try for an hour to fix it before asking ....
Last edited by machinecoder on 26 Oct 2013, 13:37; edited 1 time in total
|