On 04/10/2013 9:08 μμ, Sven Barth wrote:
The main difference is that cwstring uses the Widestring manager of the system's C library while fpwidestring is a full Pascal Widestring manager.
So by using cwstring instead of fpwidestring am I safe to assume that the widestrings used and returned by DLLs/SOs will work correctly even when they are used as results in functions (taking in to account that widestrings are not ref counted in the first place of course)?
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal