🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4004

Re: Finding whether Console app has a window

#4004
From: Richard Casten
Date: Thu, 30 Mar 2006 23:42
8 lines
1162 bytes

"Remy Lebeau (TeamB)" wrote:

> Use GetStdHandle() or CreateFile() to retreive the process's console handles
> and then check if they are assigned or not.

How do I determine if they are assigned or not?
Technical Details
Message-ID: <442C6CDC.AC3B927E@aero.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <44171EF9.DD8A51D0@aero.org> <44176d47@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8446b6f28f0db0be
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <442C6CDC.AC3B927E@aero.org>
Date: Thu, 30 Mar 2006 15:42:20 -0800
From: Richard Casten <richard.casten@aero.org>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Finding whether Console app has a window
References: <44171EF9.DD8A51D0@aero.org> <44176d47@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 130.221.27.185
X-Trace: newsgroups.borland.com 1143762034 130.221.27.185 (30 Mar 2006 15:40:34 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail