🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2227

Re: "NEW" in WIN32 ?????????????????????????????????????????????????????????

#2227
From: Felix Kasza [MVP]
Date: Sat, 29 Nov 1997 00:00
20 lines
1425 bytes
Don,

 > I'm new to Win32, however I'd like to know if I can use "NEW" in WIN32, and
 > its partner "DELETE"

You can. That is, every self-respecting compiler will provide a
library with Win32-compatible implementations of new and delete.

 > If I can, what type of memory allocation does it use, compared to these
 > functions:

That depends on your compiler. VC++ has a small-block heap; for larger
items, it uses Heap*().

Cheers,
Felix.

-- 
If you post a reply, kindly refrain from emailing it, too.
Technical Details
Message-ID: <347feb24.374334544@207.68.144.15>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <347fc30b.0@stan.astra.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113dfb,d71ad4d0c9b73da3
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 10015c,d71ad4d0c9b73da3
X-Google-Attributes: gid10015c,public
X-Google-Thread: fd2c4,d71ad4d0c9b73da3
X-Google-Attributes: gidfd2c4,public
X-Google-Thread: fccee,d71ad4d0c9b73da3
X-Google-Attributes: gidfccee,public
X-Google-Thread: 10461f,d71ad4d0c9b73da3
X-Google-Attributes: gid10461f,public
From: felixk@mvps.org (Felix Kasza [MVP])
Subject: Re: "NEW" in WIN32   ?????????????????????????????????????????????????????????
Date: 1997/11/29
Message-ID: <347feb24.374334544@207.68.144.15>
X-Deja-AN: 293612865
References: <347fc30b.0@stan.astra.co.uk>
Organization: None. Just me here.
Newsgroups: comp.os.ms-windows.programmer.win32,fido.win32,microsoft.public.win32,microsoft.public.win32.programmer,microsoft.public.win32.programmer.kernel