The source project of this merge request has been removed.
EDITSTREAM record invalid size on x64 causing app crash
Fix issue #40439 (closed)
SendMessage with WM_STREAMIN/WM_STREAMOUT and EDITSTREAM structure crashes on x64 because of invalild record size. Record needs to be packed.
var es = EDITSTREAM;
SendMessage(handle, EM_STREAMIN, SF_RTF, LPARAM(@es));