Article View: borland.public.cppbuilder.nativeapi
Article #13904Re: dll/memory manager question
From: Gary Setter
Date: Sun, 07 Sep 2003 16:13
Date: Sun, 07 Sep 2003 16:13
17 lines
1706 bytes
1706 bytes
"Benny Hill" <benny_hill3@yahoo.com> wrote in message news:pan.2003.09.06.21.16.35.249142@yahoo.com... > On Sat, 06 Sep 2003 13:41:08 -0700, Remy Lebeau (TeamB) wrote: > > > Correct. The DLL allocated the actual memory for the items, so the DLL > > should be the one to free them before the application frees the vector > > itself. > > > > > > Gambit > <snip> Are you just saying that the exported class must define external constructor and destructor functions so that the vector is allocated/deallocated with the dlls memory allocator? Gary
Technical Details
Message-ID:
<3f5b58fe$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<pan.2003.09.06.14.25.25.708900@yahoo.com> <3f5a4648$1@newsgroups.borland.com> <pan.2003.09.06.21.16.35.249142@yahoo.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,7f8fbb07565f6d83 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-07 09:23:47 PST From: "Gary Setter" <setterg@worldnet.att.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <pan.2003.09.06.14.25.25.708900@yahoo.com> <3f5a4648$1@newsgroups.borland.com> <pan.2003.09.06.21.16.35.249142@yahoo.com> Subject: Re: dll/memory manager question Date: Sun, 7 Sep 2003 11:13:28 -0500 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 12.84.32.159 Message-ID: <3f5b58fe$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1062951166 12.84.32.159 (7 Sep 2003 09:12:46 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail