Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 30459, LAMarker, a tool to set/unset Large Address Aware bits

by Ray Vecchio Email: Anonymous


LAMarker is a tool to set/unset Large Address Aware bits, in the PE header of a binary.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C++Builder, Version 3.0  to 17.0 931 downloads
Copyright: All rights reserved


Size: 61,812 bytes
Updated on Wed, 13 Jan 2016 13:39:24 GMT
Originally uploaded on Wed, 13 Jan 2016 13:39:22 GMT
SHA1 Hash: 82EBA93737833A4762F66A663A86DFA174CBACCB
MD5 Hash: 39C961626C51332B49A3B7DE12E7B882

    Explore the files in this upload

Description
LAMarker is a tool to set/unset Large Address Aware bits, in the PE header of a binary. It can be used for instance to make the XE3 and upwards C++ linkers Large Address Aware, and allow you use the -GH command line open to adjust the linker heaps.
USAGE: LAMarker
USAGE: LAMarker [options] -FFileName

Options :
-Q Quiet
-? Help
-M Mark as Large Address Aware
-U Unmark as Large Address Aware

If no options are specified other than -Ffilename.exe then the PE header flags and checksum will be displayed.
If you specified the -M or -U the original file will be backed up with the extension .old

Using the LA marked linker you might see this issue more often (although you do see this occasionally in the normal linker):

1) You have an application that just works...
2) You move a control in the dfm, no code changes.
3) MAKE... the application crashes in the start up code, in a number of cases it will be in the delayloading code.
4) When you make some code change OR a clean and a build, the application will work again.

To resolve this issue, you set the linker options to clear the state files before a link,
(in the IDE Project | Options | "C++ Linker" | Advanced | Clear state before linking ->TRUE, it is the "-C" option
for the command line linker) this is counter productive for incremental linking, BUT you will not get this mysterious
startup crash.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03