Hi
I was wondering how Delphi allocates and frees memory for string types. I remember hearing somewhere that strings are reference counted, but what would happen if I put a string in something like a record like this:
type
TMyRec = record
X, Y : Integer;
Str : string;
end...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.