🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: form inside a dll loaded by a console application

#2808
From: Stefano Bonifazi
Date: Thu, 28 Dec 2006 12:35
30 lines
2121 bytes
Hi!
John van de Geyn wrote:
> What is it your actualy trying to achieve? Sounds like you have a Console 
> application that uses a function in a DLL to I assume needs to get some user 
> information. Is this correct?

well let's say that the exchange of info is supposed to be 
bidirectional! The GUI is supposed to pass user info to the console 
application, and display its informations back to the user!

> It might be easier and more reliable to just use a temp file to exchange 
> information(using say the HANDLE of the application you spawn as a 
> filename). 

Too slow! and rude! :)

Although I have also used TCPIP succesfully in the past for
> exchanging info between applications. I'm  just wondering when the program 
> is used on networked machines with tight security settings that ports might 
> not be available.
> 

Well that will be only a matter for network administrators :) ... and 
this solution will also allow to have a remote GUI communicating with 
the console application!


Thank U!
Regards!
Stefano B.
Technical Details
Message-ID: <4593b9f7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <458e4f48@newsgroups.borland.com> <4592f2f3@newsgroups.borland.com> <459385ea@newsgroups.borland.com> <45938ae5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3fa2091e9808a898
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 28 Dec 2006 13:35:36 +0100
From: Stefano Bonifazi <stefboombastic@email.it>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: form inside a dll loaded by a console application
References: <458e4f48@newsgroups.borland.com> <4592f2f3@newsgroups.borland.com> <459385ea@newsgroups.borland.com> <45938ae5@newsgroups.borland.com>
In-Reply-To: <45938ae5@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.104.232.19
Message-ID: <4593b9f7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1167309303 80.104.232.19 (28 Dec 2006 04:35:03 -0800)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail