widestring-related OLE problem
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
FPC cannot assign widestrings to variants correctly. Problem has an important fine point:
in OLE can be used only unicode-filled memory blocks that are allocated using some functions of oleaut32.dll, e.g., SysAllocStringLen. I surmise that Delphi RTL uses SysAllocStringLen for automatic WideStrings initialization (at least, this function is used in its system unit).
Additional information:
Reporter: Pavel V. Ozerski
EMail: ozerski at list dot ru
Mantis conversion info:
- Mantis ID: 4457
- OS: WIN32
- Version: 1.1.0