๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HEAP sharing between EXE & DLL

#1075
From: Bob Gonder
Date: Mon, 19 Nov 2007 16:08
12 lines
1403 bytes
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: <ipc3k3hbvq8pfjivle4l1cn5etuong459b@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47419172@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8f90b7dab73eabc4
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: HEAP sharing between EXE & DLL
Date: Mon, 19 Nov 2007 08:08:18 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <ipc3k3hbvq8pfjivle4l1cn5etuong459b@4ax.com>
References: <47419172@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 67.77.147.92
X-Trace: newsgroups.borland.com 1195488502 67.77.147.92 (19 Nov 2007 08:08:22 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail