Article View: borland.public.cppbuilder.nativeapi
Article #1074HEAP sharing between EXE & DLL
From: Eyyub Volkan �ektimur
Date: Mon, 19 Nov 2007 13:36
Date: Mon, 19 Nov 2007 13:36
16 lines
1577 bytes
1577 bytes
Hi, if i understood correctly, when your EXE & DLL heaps differs from each other, then you should not create memory at EXE and delete at DLL (or vice versa...). so, when you set them to use/share same HEAP, there will be no problems i guess... To do this with borland, set application/DLL to use dynamic version of RTL. Is it correct that when we use dynamic version of RTL , there will be no HEAP problem in the future, means you can mix memory management with DLL & EXE. Is there any way to understand that DLL & EXE are using the same HEAP or different HEAPs ? thanks for help _______________________ Eyyub Volkan �ektimur
Technical Details
Message-ID:
<47419172@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8f90b7dab73eabc4,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII From: "Eyyub Volkan �ektimur" <evcektimur@prokon.com.tr> Newsgroups: borland.public.cppbuilder.nativeapi Subject: HEAP sharing between EXE & DLL Date: Mon, 19 Nov 2007 15:36:50 +0200 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 88.248.77.154 Message-ID: <47419172@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1195479410 88.248.77.154 (19 Nov 2007 05:36:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.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