Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-11

WideString and cwstring unit

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

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

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.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys
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.

Reply by email

Marco van de Voort
to Michael Van Canneyt
Show quoted text 5 lines
On Mon, 26 Nov 2007, Graeme Geldenhuys wrote: > 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.

(Also on FreeBSD, probably even on OS X)

Reply by email