abdo.eng 2006210
abdo.eng 2006210

Reputation: 543

Run console application without window

I have 3 console programs (.exe), and I want to run them from one console application without showing the windows of the 3 console programs. All programs are written in VC++. Any suggestions about how I can do this?

Upvotes: 3

Views: 2130

Answers (2)

GeniusIDS
GeniusIDS

Reputation: 91

You can use ShellExecute command to run the other application

Upvotes: 5

masche
masche

Reputation: 1643

Take a look at the ShellExecute Function http://msdn.microsoft.com/en-us/library/windows/desktop/bb762153(v=vs.85).aspx

SW_HIDE as last parameter will ... well, hide the window.

Upvotes: 2

Related Questions