Marco van de Voort wrote:
In our previous episode, Thaddy said:
afaik widestrings are reference counted in Delphi. PWideChars not.

Yes, but not by Delphi but by COM.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Correct. Which means it's an opaque on windows platforms, but not for others. That's also the reason Kylix has a different behaveour at the deep end. Solve it at platform level and try to keep it an opaque, I suggest.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to