Article View: borland.public.cppbuilder.nativeapi
Article #10748Re: Displaying the console window from a DLL
From: p Anders
Date: Tue, 23 Mar 2004 19:53
Date: Tue, 23 Mar 2004 19:53
31 lines
2303 bytes
2303 bytes
Another question - can the console window be "hidden" or do I have to use "FreeConsole" if I want the window to go away. I'd like to be able to show and hide the console at will. Can I continually "Free" and "Alloc" consoles at will in an application to create, in effect, the ability to hide and show the console? I know I won't be able to see any previous messages written to the console unless I buffer them up, but it would be better then nothing. "p Anders" <paul.anderson@jhuapl.edu> wrote in message news:405f5103$1@newsgroups.borland.com... > Can anyone tell me if this can be done? > > The basic idea is that I have an application created in LabView (a 3rd party > product) and I am trying to interface that with some communications software > that is written in C++. The C++ software has an "Application" class that > writes messages to the console, essentially keep me informed as to the > current program state. I'd like to utilize this console window from within > the DLL so I can see my program information that's going on inside the DLL. > > I have the DLL working but I can't get the console window to show up. Does > this have anything to do with not having a "main" that acts as the entry > point to my application that creates a visible console? > > Thanks for the help. > >
Technical Details
Message-ID:
<406095c9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<405f5103$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,88f1324ce9517901 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-23 11:56:30 PST Reply-To: "p Anders" <paul.anderson@jhuapl.edu> From: "p Anders" <paul.anderson@jhuapl.edu> Newsgroups: borland.public.cppbuilder.nativeapi References: <405f5103$1@newsgroups.borland.com> Subject: Re: Displaying the console window from a DLL Date: Tue, 23 Mar 2004 14:53:46 -0500 Lines: 33 Organization: JHU/APL X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 128.244.21.78 Message-ID: <406095c9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1080071625 128.244.21.78 (23 Mar 2004 11:53:45 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail