🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: malloc versus GlobalAlloc

#1085
From: Eyyub Volkan �ektimur
Date: Tue, 20 Nov 2007 13:06
17 lines
1719 bytes
one more question;

i traversed all modules loaded by EXE (EnumProcessModules) and queried that 
which module including "malloc" 
(GetProcAddress(modules[cx],"malloc")!=NULL). the result is ;

malloc in C:\WINDOWS\system32\msvcrt.dll

i was expecting to find "C:\WINDOWS\system32\CC3260MT.DLL" (i'm using bcb 
6.0)

does not borland have a seperate memory manager that handles malloc ? if 
there is, why malloc is in msvcrt.dll ? as i know CC3260* is the 
VCL-Compliant of CRT, so it's making more sense to include malloc in 
CC3260*.dll. does borland using microsoft's memory management DLL 
(msvcrt.dll) ? (if it's, CC3260* should be a mapper to msvcrt.dll) ... 
thanks again 
Technical Details
Message-ID: <4742dbe3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47429a08$1@newsgroups.borland.com> <dh75k3ptds34av2aaj6gkjcov3634j36j0@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5bc4a8822b5c2c43
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Eyyub Volkan �ektimur" <evcektimur@prokon.com.tr>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <47429a08$1@newsgroups.borland.com> <dh75k3ptds34av2aaj6gkjcov3634j36j0@4ax.com>
Subject: Re: malloc versus GlobalAlloc
Date: Tue, 20 Nov 2007 15:06:42 +0200
Lines: 19
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: <4742dbe3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1195564003 88.248.77.154 (20 Nov 2007 05:06:43 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail