🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Create multiple consoles for GUI app?

#11626
From: Jeff Kish
Date: Mon, 02 Feb 2004 13:18
25 lines
1913 bytes
On Fri, 30 Jan 2004 08:33:29 -0800, Bob Gonder
<notbg@notmindspring.invalid> wrote:

>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?
Say.. can an application have more than one process? Whats the
definition of process in this? Otherwise it sounds like you are out of
luck.

Maybe if your requirements allow, you can use multiple windows/threads
to accomplish your aims.

Jeff Kish
Technical Details
Message-ID: <ufjs10huea0dk7it7pe14ept3llncrsrf9@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <401a7b75$1@newsgroups.borland.com> <kl1l10hs9o1l3a41il2qcesidiqfut3cvl@4ax.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-02-02 08:10:10 PST
From: Jeff Kish <jeff.kish@mro.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Create multiple consoles for GUI app?
Date: Mon, 02 Feb 2004 08:18:53 -0500
Message-ID: <ufjs10huea0dk7it7pe14ept3llncrsrf9@4ax.com>
References: <401a7b75$1@newsgroups.borland.com> <kl1l10hs9o1l3a41il2qcesidiqfut3cvl@4ax.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: 12.106.157.130
X-Trace: newsgroups.borland.com 1075727682 12.106.157.130 (2 Feb 2004 05:14:42 -0800)
Lines: 25
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail