From: "Hans-Peter Diettrich" <[EMAIL PROTECTED]>
How do MS compilers handle code written for both Ansi and Unicode environments, and the related data types? How are string arguments (out) handled in Windows API's? Is this Microsoft way a good model for other platforms?
MS provides types for strngs/characters which are become differ if UNICODE is defined or not. For example LPCTSTR is an LPCWSTR if UNICODE is defined, an LPCTSTR otherwise. Therefore UNICODE define can easily convert MS RTL to unicode and non-unicode versions.
Yury Sidorov. _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
