Groups | Blog | Home
all groups > visual c > september 2004 >

visual c : forcing malloc to use high addresses


Jochen Kalmbach
9/28/2004 8:05:42 AM
[quoted text, click to view]

You have no influence on the malloc behavior.

But why not use VirtualAlloc?

See: VirtualAlloc
http://msdn.microsoft.com/library/en-us/memory/base/virtualalloc.asp

--
Greetings
Jochen

My blog about Win32 and .NET
Lynn McGuire
9/28/2004 9:59:18 AM
Is there a way to force the malloc in VC++ 2003 to use addresses
above 0x12000000 for virtual memory ?

You dont want to know why. It has to do with fortran common
blocks.

Thanks,
Lynn

AddThis Social Bookmark Button