[Lazarus] LongString does not work?

Xiangrong Fang xrfang at gmail.com
Sun Mar 3 14:26:06 CET 2013


A (Ansi)string in {$H+} mode is just a pointer (to the characters of the
string). So sizeof(DataFolder)=4 (or 8) in all cases. There is no room for
the string unless

I guess this is the cause, but then there is no need to specify "packed" if
I just use array of char.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130303/2b2d82b1/attachment-0003.html>


More information about the Lazarus mailing list