"Yury B." wrote:

>     Two RTLs should be for Win32, one compiled for ANSI/DBCS and the other for
>     UNICODE UCS-2 (WinNT), where a special type,
>     say TUniString is AnsiString in the first version and
>     UnicodeString in the second version.
>     What do you think of it?

IMO there exists no need for separate libraries. The A and W versions of
WinAPI functions are (? can be) overloaded, so that it's simply up to
the coder to provide the appropriately typed parameters.

You can define types wchar_t etc. and set these to AnsiChar or WideChar,
as desired.

Did I miss something?

DoDi



_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to