https://bugs.winehq.org/show_bug.cgi?id=34875
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jzeng@codeweavers.com
--- Comment #14 from super_man@post.com --- (In reply to super_man from comment #13)
(In reply to super_man from comment #12)
Actually I found the crash location.
dlls/user32/win.c
SetWindowTextW
I just added a nullcheck like this
if(hwnd ==NULL) FIXME("Print something");
and it let the application start without any crash.
The real problem could be related to the EM_SETMARGINS: stub messge.
Or where the NULL comes?
Actually it seems after reverting and trying to remake the hacky fix it could be that I actually wrote if(hwnd = NULL) instead of ==. And it made the application happy.
It seems to me that the real reason is EM_SETMARGINS being "unsupported" /unimplemented.
Adding case EM_SETMARGINS and printing something, prints the message one time and instant crash and the crash location seems to change.
Jactry?