[fpc-devel] WideString and cwstring unit

Michael Van Canneyt michael at freepascal.org
Mon Nov 26 14:29:35 CET 2007



On Mon, 26 Nov 2007, Graeme Geldenhuys wrote:

> Hi,
> 
> If I want to use WideString, when would I need the cwstring unit?  Is
> it for multiple platform usage (including Windows)?

No. Only on linux. It links to the C library to support conversion
of ansistrings to widestrings and some other things.

> 
> I'm currently developing under Linux, but my apps need to run under
> Windows to.  Sorry,  I couldn't find any documentation on cwstring
> unit.

On windows you don't need anything, the OS is used for this.

Michael.



More information about the fpc-devel mailing list