Article View: borland.public.cppbuilder.nativeapi
Article #1078Re: HEAP sharing between EXE & DLL
From: Eyyub Volkan �ektimur
Date: Tue, 20 Nov 2007 06:36
Date: Tue, 20 Nov 2007 06:36
25 lines
1943 bytes
1943 bytes
oh yes, i thought that but didn't write it. it's also required to use same version of RTL/CRT on EXE/DLL's. thank you for warning. I need to understand that are EXE & DLL's using the same memory manager/HEAP ? to avoid some problems, and make more reliable debugging... "Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:ipc3k3hbvq8pfjivle4l1cn5etuong459b@4ax.com... > Eyyub Volkan �ektimur wrote: > >>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. > > No. > For instance, if the exe is compiled with VS, they won't be using the same > memory manager. > Also if the exe is a different version of Borland/CodeGear than the dll, > they might use > different managers as well. > > You need to be very carefull, forever, whenever you circumvent the rules. > >
Technical Details
Message-ID:
<47428070$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47419172@newsgroups.borland.com> <ipc3k3hbvq8pfjivle4l1cn5etuong459b@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8f90b7dab73eabc4 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII From: "Eyyub Volkan �ektimur" <evcektimur@prokon.com.tr> Newsgroups: borland.public.cppbuilder.nativeapi References: <47419172@newsgroups.borland.com> <ipc3k3hbvq8pfjivle4l1cn5etuong459b@4ax.com> Subject: Re: HEAP sharing between EXE & DLL Date: Tue, 20 Nov 2007 08:36:34 +0200 Lines: 27 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: <47428070$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1195540592 88.248.77.154 (19 Nov 2007 22:36:32 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail