[fpc-devel] interfaces vs classes in dll
Martin Schreiber
fpmse at bluewin.ch
Fri Nov 30 11:25:24 CET 2007
On Friday 30 November 2007 10.26, Michael Van Canneyt wrote:
>
> When you pass an interface that uses ansistrings to a DLL,
> the ansistrings in it (or referenced by it) may be disposed
> of by the wrong memory manager.
>
> Since I assume the DLL use is the scenario that is wanted,
> it de facto means that you must use widestrings.
>
Please remember that widestrings on Linux *are* reference counted. I don't
know about other UNIX like platforms.
Martin
More information about the fpc-devel
mailing list