CreateProcess () Hide console window ?

BlitzPlus Forums/BlitzPlus Programming/CreateProcess () Hide console window ?

danielos(Posted 2008) [#1]
Hi all,

is it possible to hide the console window that pops up automaticly when you use the CreateProcess() command ?
I cannot use ExecFile() because I need the stream (=results) of the application I run...

Thanks,
Daniel


Ked(Posted 2008) [#2]
When you use the CreateProcess() command, a console window shouldn't show up.


danielos(Posted 2008) [#3]
Thanks Ked....
You are right, and you are not:
I run two .exe- Files using CreateProcess(), both are console programs.
Program One shows a console window, titled "C:\windows\system32\cmd.exe",
program Two does not show anything...
Is it possible (maybe via WinApi) to completely hide or at least minimize Programm One ?

Daniel