RAD Studio (Common)
ContentsIndex
PreviousUpNext
W1043: Imagebase $%X is not a multiple of 64k. Rounding down to $%X

You can set an imagebase for a DLL to position it in a specific location in memory using the $IMAGEBASE compiler directive. The $IMAGEBASE directive controls the default load address for an application, DLL, or package. The number specified as the imagebase in the directive must be a multiple of 64K (that is, a hex number must have zeros as the last 4 digits), otherwise, it will be rounded down to the nearest multiple, and you will receive this compiler message.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!