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.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to