Talk:Internal Data Formats (Delphi)

From RAD Studio
Jump to: navigation, search

Long String Type: The documentation say the length (offset -4) is in bytes, however it seems that the length is in characters, not bytes (so it's Bytes div 2 with CP_UTF16). Anyone from EMBT can confirm this ?

Response

We are investigating and will make any necessary corrections.

Many thanks for your contribution to the docwiki.

KrisHouser (talk) 09:47, 30 May 2013 (PDT)

RS-39671

Class Types - Offset table

The offset value of vmtInstanceSize on Win64,ARM and iOS/Simulator are incorrect. Only Win32 platform describe a correct value. (-52)

vmtInstanceSize have to have vmtClassName + sizeof(Pointer)

Red values in the following table are correct value.

Offset
Win32, OSX
Offset
Win64
Offset
iOS/ARM, Android/ARM
Offset
iOS/Simulator
Type Description Constant in System.pas

-52

-128

-72

-60

Cardinal

Instance size in bytes

vmtInstanceSize

--Tarisawa (talk) 20:46, 5 November 2014 (PST)

LongWord / LongInt are changed.

Please check http://vmsfconf/pages/editpage.action?pageId=85592878

LongWord and LongInt are 64bit for LP64 (Long and Pointer are 64bit; 64bit POSIX platforms include iOS/64, OSX/64, Linux/64 and Android/64)

All known 32bit platforms and LLP64 (Long long and Pointer are 64bit; Windows/64) are still 32bit.

--Tarisawa (talk) 07:42, 28 November 2014 (PST)

Please remove old term

Please remove "the generic integer type" term from the documentation. You can see this term from "Set Types" section.

I see this term from the following an old documentation. http://docwiki.embarcadero.com/RADStudio/2010/en/Simple_Types#Generic_Integer_Types

And this term is replaced by "Platform-Dependent Integer Types". (Same time, we replaced "Fundamental Integer Types" to "Platform-Independent Integer Types"

--Tarisawa (talk) 23:55, 4 December 2014 (PST)

Response

Hi Takeshi - I have added a link to this page in the JIRA for the XE8 data type changes: RS-56612 So your info should be included in the XE8 docs. If you have more information, please add it to the JIRA task.

Many thanks,

KrisHouser (talk) 10:34, 8 December 2014 (PST)

RS-56612