Sven Barth schrieb:

Btw in this thread it was already mentioned that Delphi doesn't define
CP_UTF16, but one easily could define it and create the above code.

Then tell us the Delphi version that accepts an AnsiString(1200). I
couldn't find any :-(

Ehm... Delphi XE DOES accept AnsiString(1200) as I've written in my other mail. It just doesn't do anything sane with it (Length of such a strings seems to be always zero).

You're right, the XE compiler lacks some error checks :-(

DoDi

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to