🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: form inside a dll loaded by a console application

#2807
From: John van de Geyn
Date: Thu, 28 Dec 2006 09:14
29 lines
2413 bytes
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?
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). 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.

John

"Stefano Bonifazi" <stefboombastic@email.it> wrote in message 
news:459385ea@newsgroups.borland.com...
> Hi! Thank You for Ur reply!
>
>
> John van de Geyn wrote:
>> Instead of creating a new Form would it not be easier to spawn a new 
>> stand alone application from the DLL?
>
> of course it would! :) ... That is right the way I'm following now, 
> leaving in the dll just a TCPIP blocking client that creates a bridge 
> between the console application and the visual VCL application!
> Of course if the console could launch directly a form in the dll would be 
> much better, but it sounds that the price is always that it has to sit 
> looping in message processing :(
> Thank You for Ur suggestion anyway!
> Stefano B. 
Technical Details
Message-ID: <45938ae5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3fa2091e9808a898
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John van de Geyn" <j.vandegeyn@uq.net.au>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <458e4f48@newsgroups.borland.com> <4592f2f3@newsgroups.borland.com> <459385ea@newsgroups.borland.com>
Subject: Re: form inside a dll loaded by a console application
Date: Thu, 28 Dec 2006 19:14:38 +1000
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 144.136.135.226
Message-ID: <45938ae5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1167297253 144.136.135.226 (28 Dec 2006 01:14:13 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail