🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Close Form in DLL

#7808
From: KL Chin
Date: Tue, 21 Dec 2004 02:40
19 lines
1501 bytes
Hi Remy Lebeau (TeamB),

I had create a form with DsPack for VideoStreaming in a DLL 
(multi-threaded).

Everything were fine until it going to close the application, where it 
receive
a signal from remote PC, either with WM_CLOSE.or Close. At this closing
process, this form will call main EXE to unload the DLL later.   The problem
was where free-ed code area always access/call-back again.

But if I click the 'X' button or press Alt+F4 with-in the main exe, it had 
not problem.
Any help were welcome.

Thx in advance

Regards
KL Chin
Technical Details
Message-ID: <41c78d36@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bd28311fbf37010b,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "KL Chin" <klchin@1asia.com.my>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Close Form in DLL
Date: Tue, 21 Dec 2004 10:40:50 +0800
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 219.93.184.30
Message-ID: <41c78d36@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103596854 219.93.184.30 (20 Dec 2004 18:40:54 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail