Kas Ob. |
12. Sep 2024 16:00 |
AW: Desaströse Performance von TRichedit
Zitat:
Zitat von himitsu
(Beitrag 1540887)
Zitat:
Zitat von Kas Ob.
(Beitrag 1540886)
What about this
|
And this is supposed to work in a Delphi since 2009?
SendMessage = SendMessageW = Unicode
Is your file also Unicode?
|
Yes after re-reading more, i think WM_SETTEXT with Delphi 5 or may be even Delphi 7 might not work, as it will fail to handle the BOM marker for UTF16, as the used RichEdit class is version 1.0 and it is
Zitat:
ANSI (single-byte character set (SBCS) and multibyte character set (MBCS)) editing
|
So will work if the class changed to version 2.0, yet i might be wrong though, all in all this need more digging.
|