Re: [Dev-C++] suppress console window
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alfred P. R. <al...@ya...> - 2005-10-19 04:34:13
|
Various sources on the Internet recommend using the Win32 API CreateProcess method. Researching this question appears to show that popen does not appear to posess that capability, as console applications are expected to operate with a console :^o. http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q190351 http://groups.google.com/group/comp.lang.python/browse_thread/thread/f3dee2bba90f27a2/e33360750389fdf8%23e33360750389fdf8?sa=X&oi=groupsr&start=0&num=3 (Jan 7 2004, 3:36 AM entry) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/creating_a_child_process_with_redirected_input_and_output.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp (CreateProcess Method) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/process_creation_flags.asp (Process Creation Flags - CREATE_NO_WINDOW) Noorez Kassam <lor...@ho...> wrote: I'm using the FILE *popen() function to open a console program from a gui program to process a text file, but when I start the console program, a dos window appears for a few seconds and disappears. Is it possible to suppress the console window? <snip> Alfred P. Reaud |