Article View: borland.public.cppbuilder.nativeapi
Article #11597Re: Create multiple consoles for GUI app?
From: Bob Gonder
Date: Fri, 30 Jan 2004 16:33
Date: Fri, 30 Jan 2004 16:33
14 lines
1568 bytes
1568 bytes
peluo wrote: >Im trying to create multiple consoles for GUI app. Can anyone help me From the Help on AllocConsole: A process can be associated with only one console, so the AllocConsole function fails if the calling process already has a console. A process can use the FreeConsole function to detach itself from its current console, and then it can call AllocConsole to create a new console. If the calling process creates a child process, the child inherits the new console. So, what is it that you want to do?
Technical Details
Message-ID:
<kl1l10hs9o1l3a41il2qcesidiqfut3cvl@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<401a7b75$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f40f4adae9bca2b0 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-30 08:40:46 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Create multiple consoles for GUI app? Date: Fri, 30 Jan 2004 08:33:29 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <kl1l10hs9o1l3a41il2qcesidiqfut3cvl@4ax.com> References: <401a7b75$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.165.15 X-Trace: newsgroups.borland.com 1075480414 67.31.165.15 (30 Jan 2004 08:33:34 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail