Archived

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

How to hide command prompt screen using _spawnl/shellexecute

This topic is 5514 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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