Article View: borland.public.cppbuilder.nativeapi
Article #4098Re: Finding whether Console app has a window
From: Remy Lebeau (TeamB)
Date: Wed, 15 Mar 2006 01:27
Date: Wed, 15 Mar 2006 01:27
16 lines
1376 bytes
1376 bytes
"Richard Casten" <richard.casten@aero.org> wrote in message news:44171EF9.DD8A51D0@aero.org... > CreateProcess with the creation flag set to CREATE_NO_WINDOW Keep in mind that CREATE_NO_WINDOW is not supported on Win9x/ME. > how, within the console application, to determine if the application > was created with the CREATE_NO_WINDOW flag. Use GetStdHandle() or CreateFile() to retreive the process's console handles and then check if they are assigned or not. Gambit
Technical Details
Message-ID:
<44176d47@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44171EF9.DD8A51D0@aero.org>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8446b6f28f0db0be X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <44171EF9.DD8A51D0@aero.org> Subject: Re: Finding whether Console app has a window Date: Tue, 14 Mar 2006 17:27:50 -0800 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <44176d47@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1142385991 68.69.17.41 (14 Mar 2006 17:26:31 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail