LMD VCL - Unicode Support

From LMD
Revision as of 19:43, 30 July 2007 by Fduch (talk | contribs)

Jump to: navigation, search

General unicode support notes:

  • Use WideString instead of String (if library has ansi version, the use defines (see TLMDString type))
  • One symbol, in general case, isn't equal one byte - it's very important
  • Use Unicode API function instead of its Ansi version. These function has W suffix. As example DrawTextW, ExtTextOutW etc.
  • For any operation on unicode string use routines from LMDStrings.pas (must be in core modules)
  • For unicode string lists use classes from LMDUnicodeStrings
  • Win 9x/Me has very poor unicode support and need to check all controls on these OSes.