Look at STARTUP_INFO in the context of CreateProcess: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/prothred_9dpv.asp
You can make the console created invisible by setting dwFlags to STARTF_USESHOWWINDOW and wShowWindow to SW_HIDE. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX At 12:36 PM 12/18/2001, Andy Piper wrote: >Dumb question - how do you create an invisible console? > >andy > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Larry Hall (RFK > > Partners, Inc) > > Sent: Tuesday, December 18, 2001 7:13 AM > > To: Dmitry Bely; Andy Piper > > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: Re: Xemacs/cygwin 21.4.3 and new console window during > > compilation > > > > > > At 03:11 AM 12/18/2001, Dmitry Bely wrote: > > >Andy Piper <[EMAIL PROTECTED]> writes: > > > > > > > So my supposition is that a console window is created because XEmacs > > > > doesn't have one by default when started from the desktop. > > > > > >Why then MSVC-compiled XEmacs does not popup new console in the same > > >situation? It also seems not to have one by default ... > > > > > > Checking the source would provide the definitive answer. I expect what > > you'll find is that a console is created but it's invisible. That's at > > least one simple way to deal with this issue. > > > > > > Good luck, > > > > > > > > Larry Hall [EMAIL PROTECTED] > > RFK Partners, Inc. http://www.rfk.com > > 838 Washington Street (508) 893-9779 - RFK Office > > Holliston, MA 01746 (508) 893-9889 - FAX > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/