https://bugs.winehq.org/show_bug.cgi?id=40832
Roman Pisl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl@seznam.cz
--- Comment #7 from Roman Pisl rpisl@seznam.cz --- It is not a dupe of bug 13319.
I think the problem is related to and caused by: https://www.winehq.org/pipermail/wine-patches/2013-May/123958.html
It states a precondition that ater EM_GETHANDLE no message is processed. But MSDN says just that "the application calls LocalUnlock before allowing the edit control to receive new messages".
EM_REPLACESEL fails on null pointer derefernce (es->text) after EM_GETHANDLE is called by application.