tags:

views:

24

answers:

2

Hello,

I'm trying to pipe io through a terminal application as per microsoft's documentation (http://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx). The problem is, when I add this code, it pops up a big black empty box / terminal / console window. I don't want it to do that.

Suggestions?

Thanks!

+2  A: 

Make sure that the dwFlags member of the STARTUPINFO structure has the STARTF_USESHOWWINDOW bit set and that the wShowWindow is set to SW_HIDE. That should work

Michael Goldshteyn
A: 

You need to padd CREATE_NO_WINDOW flag to create process check the createprocess documentation on creation flags.

rerun