🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual
Article #113

Modal forms in DLLS

#113
From: Steve Gontarek
Date: Thu, 23 Mar 2000 00:00
16 lines
1666 bytes
I have a DLL (built in C++ builder) with two forms which are displayed
on request from a host application. 

Now when running my host app in the  VB6 IDE I can display that form
(calling the relavent DLL function)  through a button on a dialog
which is also shown modally without a problem. However if I compile
the host app and run it on its own, the DLL form is displayed when
activated from the modal dialog, but I cannot access it: it appears
frozen like the background main form of the host app - the dialog
itself is also frozen. I'm sure this has something to do with threads
and possibly ownership, but I cannot understand why it works in the
IDE and not as compiled prog. Can anyone shed some light on this
please ?

Steve Gontarek
Technical Details
Message-ID: <a4hkdsc3hqrb2nultuq32keeps7s7056sh@4ax.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f645d,fabe6baf83e56e13,start
X-Google-Attributes: gidf645d,public
X-Google-Thread: f5ca7,fabe6baf83e56e13,start
X-Google-Attributes: gidf5ca7,public
X-Google-Thread: 10f40d,fabe6baf83e56e13,start
X-Google-Attributes: gid10f40d,public
From: Steve Gontarek <sjg@carnasserie.freeserve.co.uk>
Subject: Modal forms in DLLS
Date: 2000/03/23
Message-ID: <a4hkdsc3hqrb2nultuq32keeps7s7056sh@4ax.com>
X-Deja-AN: 601350868
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@theplanet.net
X-Trace: newsg2.svr.pol.co.uk 953828844 5444 62.136.23.86 (23 Mar 2000 16:27:24 GMT)
Organization: Argyll
Mime-Version: 1.0
Reply-To: sjg@carnasserie.freeserve.co.uk
NNTP-Posting-Date: 23 Mar 2000 16:27:24 GMT
Newsgroups: comp.lang.basic.visual,borland.public.cppbuilder,borland.public.cppbuilder.winapi