🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: form inside a dll loaded by a console application

#2797
From: Stefano Bonifazi
Date: Wed, 27 Dec 2006 19:55
15 lines
1903 bytes
  Hi Mr Lebeau! Thank U for Ur reply, and above all for the full working 
code!
Anyway that is exactly what I wished to avoid! :) ... Well my project is 
  divided in two parts: a console project that is compiled with another 
IDE, not written by me, and my Borland Style VCL forms embedded in the 
DLL... I should minimize the code that launches my forms from inside the 
console application! I cannot modify the main such way.. it already sits 
on its loop doing other than windows messages processing.. I hoped I 
could do all in a separate thread.. I tried creating a TApplication 
inside a thread that then created my forms... it worked, but then the 
application never stopped even if I closed all the forms, or I called 
Terminate!
Hope U have a workaround...
Thank U again for Ur help!
Stefano B
Technical Details
Message-ID: <4592cf7c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.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> <45903d10$1@newsgroups.borland.com> <45919f15@newsgroups.borland.com> <4591c308$1@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: Wed, 27 Dec 2006 20:55:09 +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> <45903d10$1@newsgroups.borland.com> <45919f15@newsgroups.borland.com> <4591c308$1@newsgroups.borland.com>
In-Reply-To: <4591c308$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.104.236.70
Message-ID: <4592cf7c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1167249276 80.104.236.70 (27 Dec 2006 11:54:36 -0800)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.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