Hi,
i have here an application which has to start another application. This other application has no window, callback routine or commandline. But CreateProcess() doesnt start this application. Anybody can give me the right parameters for doing so? Thanx
i have here an application which has to start another application. This other application has no window, callback routine or commandline. But CreateProcess() doesnt start this application. Anybody can give me the right parameters for doing so? Thanx
Difficult to say anything useful with these infos. Whats the error code from GetLastError?
Hi,
i already found the error. I simply forgot to specify these two structures for CreateProcess().
i already found the error. I simply forgot to specify these two structures for CreateProcess().
why don't you use ShellExecute or WinExec? CreateProcess
is way to complicated just for starting a little program (i mean
if you don't want to work with the running process like
retrieving output, check if process finished etc... )
is way to complicated just for starting a little program (i mean
if you don't want to work with the running process like
retrieving output, check if process finished etc... )
Wasnt winexec() an old function, used in win 3.1 times? So i thought that it would be bedder to use an actual function like createprocess(). And createprocess() wasnt so complex at all. Only pushing some 0 and a few offsets, thats all.