Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-Id: <4.3.1.2.20011218130517.0234ea88@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 18 Dec 2001 13:08:48 -0500
To: "Andy Piper" <andy@xemacs.org>, "Dmitry Bely" <dbely@mail.ru>
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: RE: Xemacs/cygwin 21.4.3 and new console window during 
  compilation
Cc: <xemacs-winnt@xemacs.org>, <ben@xemacs.org>, <cygwin@cygwin.com>
In-Reply-To: <003a01c187ea$7e5c4dc0$947ba8c0@TSUNAMI>
References: <4.3.1.2.20011218101008.02235860@pop.ma.ultranet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

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                              lhall@rfk.com
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: xemacs-winnt-admin@xemacs.org
> > [mailto:xemacs-winnt-admin@xemacs.org]On Behalf Of Larry Hall (RFK
> > Partners, Inc)
> > Sent: Tuesday, December 18, 2001 7:13 AM
> > To: Dmitry Bely; Andy Piper
> > Cc: xemacs-winnt@xemacs.org; ben@xemacs.org; cygwin@cygwin.com
> > 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 <andy@xemacs.org> 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                              lhall@rfk.com
> > 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/

