Re: [fpc-pascal] Using AnsiString/WideString with C Library

2007-06-04 Thread Daniƫl Mantione
Op Mon, 4 Jun 2007, schreef [EMAIL PROTECTED]: > I've read the documentation and I find that I can use WIDESTRING in a similar > way, but I'm not sure which character codification WIDESTRING uses. The C > library uses 'standard C strings' (that is 'char *string;') an there's a > function to defi

Re: [fpc-pascal] Using AnsiString/WideString with C Library

2007-06-04 Thread Marco van de Voort
> This way I can use Pascal strings with C functions. > > I've read the documentation and I find that I can use WIDESTRING in a similar > way, but I'm not sure which character codification WIDESTRING uses UCS2 which is a subset (more like a draft for) of UTF16. Maybe Microsoft has fixed this to