On Mon, Nov 9, 2009 at 6:30 PM, Martin Schreiber <fp...@bluewin.ch> wrote: > WideString could be reference counted on all platforms and the current not > reference counted Windows WideString could be renamed to OLEString in order > applications which don't need different encodings in strings don't suffer > from the performance and memory requirement penalty of the complicated > multi-encoding-multi-char-size string.
you can use the following: uses mytypes; // use the unit in your project {$ifdef MSWindows} type OleString = WideString; WideString = UnicodeString; {$endif} thanks, dmitry _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel