Access 4GB of memory from BlitzPlus in Vista 64

BlitzPlus Forums/BlitzPlus Programming/Access 4GB of memory from BlitzPlus in Vista 64

Kcarlino(Posted 2009) [#1]
Just a bit of information for the fellow BlitzPlus users out there.

You can alter you BlitzPlus created executable to allow it to access 4GB or memory instead of the standard 2GB for your users running Vista 64 Bit Editions.

This can be done with the EDITBIN utility that comes with MSVC.

EDITBIN /LARGEADDRESSAWARE yourapp.exe

Here is a link that lists the various memory limits for a process in the different versions of Windows.

http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx

Ken Carlino


ShadowTurtle(Posted 2009) [#2]
Nice. Thanks. So i can write 64bit-Software with MS Visual C++ 6.0 (1998).


Kcarlino(Posted 2009) [#3]
No. This doesn't not mean 64 bit application. This means that you can flag your 32 bit application created with BlitzPlus as an application that intends to access the full address space of memory, 4GB. The default for BlitzPlus executables is to not set the LARGEADDRESSAWARE flag which means the application will only have access to 2GB of memory.

Vista 64 will run your 32 bit application created with BlitzPlus fine. This just allows for accessing to the most memory possible for a 32 bit application.

Hope that helps,
Ken Carlino


ShadowTurtle(Posted 2009) [#4]
Erm. Ok.


schilcote(Posted 2009) [#5]
Kewlzorz. Not that I ever need that much ram.