Watch, Follow, &
Connect with Us

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


ID: 16515, OffsetOf built-in function

by Lubos Medovarsky Email: Anonymous


A built-in ('compiler magic') C-style
function OffsetOf(const Structure, const Member): Ordinal;
is missing in all Delphi releases.
Download Details
FTP  download also available 0 bytes
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 Delphi, Version 1.0  to 6.0 12 downloads
Copyright: No significant restrictions


Size: 0 bytes
Updated on Tue, 04 Sep 2001 07:59:47 GMT
Originally uploaded on Tue, 04 Sep 2001 08:24:38 GMT
Description

Hello folks,

A built-in ('compiler magic') C-style

function OffsetOf(const Structure, const Member): Ordinal;

is missing in all Delphi releases.

It would be fine to have it for type, var and const declarations,
due to difficulty of offset calculation with different field alignments.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04