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
> 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
Hello.
I'm writing a wrapper for a C library that allows the use of UNICODE. I did
wrappers for C libraries but using only ASCII strings. I did:
UNIT example;
INTERFACE
PROCEDURE Proc (Text: ANSISTRING);
IMPLEMENTATION
{ Wrapper for the C function. }
PROCEDURE _C_Proc_ (Text: PCHAR); CDEC