Sven Barth schrieb:
legacy code can be broken by (eventually) required changes to "set of
char", sizeof(char) and PChar, sizeof(string) as opposed to
Length(string), upper/lower conversion, and many more not so obvious
consequences.
I don't believe that PChar will be touched, because to much code that
interfaces with C code depends on that.
AFAIK Delphi did so, with PChar=PWideChar now. For external Ansi
interfaces PAnsiChar has to be used.
Please note that the WinAPI headers are configurable for either Ansi or
Unicode, changing TCHAR etc. as appropriate.
DoDi
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel