🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: cout <<"HELP" << endl; How to redirect all cout to a Memo ?

#6889
From: someone
Date: Thu, 31 Mar 2005 17:51
9 lines
1413 bytes
adam wrote:
> Thks to share this I will use it a lot !

Did you figure-out how to stop user accidentally close the console 
window ? Because if user close the console windows directly (instead of 
fclose(mF);  FreeConsole();), then your application will crash.

Does anyone know how to send "cout" to TMemo instead of sending it to 
console?
Technical Details
Message-ID: <424c24fa@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <424ad7c1$1@newsgroups.borland.com> <424afb34$1@newsgroups.borland.com> <opsoid7o10ajtsdq@news.noeatingpuzzlepieces>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,70264b2d092f1bae
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 01 Apr 2005 03:51:15 +1000
From: someone <someone@somewhere.com>
User-Agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: cout <<"HELP" << endl; How to redirect all cout to a Memo ?
References: <424ad7c1$1@newsgroups.borland.com> <424afb34$1@newsgroups.borland.com> <opsoid7o10ajtsdq@news.noeatingpuzzlepieces>
In-Reply-To: <opsoid7o10ajtsdq@news.noeatingpuzzlepieces>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 211.30.60.151
Message-ID: <424c24fa@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112286458 211.30.60.151 (31 Mar 2005 08:27:38 -0800)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail