I would like to run a console application from my GUI application. But I don't want the console window to appear. And I want the console program to send a message to my GUI application when ready.
Printable View
I would like to run a console application from my GUI application. But I don't want the console window to appear. And I want the console program to send a message to my GUI application when ready.
use CreateProcess, there is a flag to hide the window, there are also flags to pass STDIN and STDOUT handles to the process so you can write to it and read from it.
That CREATE_NO_WINDOW flag is not available for windows 98.
Try using the show window property set to SW_HIDE, make sure you use that flag that tells it to use this value, STARTF_SHOWWINDOW or something like that.
STARTF_SHOWWINDOW?? no such thing