delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/18/13:11:16

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

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 AT rfk DOT 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 AT xemacs DOT org
> > [mailto:xemacs-winnt-admin AT xemacs DOT 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 AT xemacs DOT org; ben AT xemacs DOT org; cygwin AT cygwin DOT 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 AT xemacs DOT 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 AT rfk DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019