This topic is now archived and is closed to further replies.


How to hide command prompt screen using _spawnl/shellexecute

Recommended Posts

Hi all i wish to call up my child process from my main process. let say my child process is a console program, if i call .exe using shellexecute / _spawnl / _execl, but the command prompt window is shown on the screen. make the thing simple, if i my console program call a MessageBox, if my main process call the .exe, the messagebox is what i expected instead of showing the black command prompt window. is there anyway to get rid of the console screen? i try to call up other non_console .exes,and they works fine. but just wondering how to cater the console program thanl you from damian

Share this post

Link to post
Share on other sites