And this is supposed to work in a Delphi since 2009?
SendMessage = SendMessageW =
Unicode
Is your file also
Unicode?
It should !
Notice by sending the stream in full as it in the file, meaning the header included U+FEFF BOM header, yet the Window class recognized it, and
handle it right, this even should work with Delphi 5.
But was it faster ?