[Bug 44723] ND Viewer 2012 crashes when opening .n3r video file

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Mar 13 17:52:51 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=44723

--- Comment #9 from Louis Lenders <xerox.xerox2000x at gmail.com> ---
Created attachment 60736
  --> https://bugs.winehq.org/attachment.cgi?id=60736
debuglog

Attached a debuglog +relay,seh,+tid,+win,+dialog


I was able to start the application with totally wrong hack below (that breaks
probably every other app), but the sad hack shows at least that the problem is
probably not in quartz/qedit. 


diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c
index 46220b0..56ad136 100644
--- a/dlls/user32/dialog.c
+++ b/dlls/user32/dialog.c
@@ -1315,7 +1315,7 @@ HWND WINAPI GetDlgItem( HWND hwndDlg, INT id )
     HWND *list = WIN_ListChildren( hwndDlg );
     HWND ret = 0;

-    if (!list) return 0;
+    if (!list)  return GetDesktopWindow();

     for (i = 0; list[i]; i++) if (GetWindowLongPtrW( list[i], GWLP_ID ) == id)
break;
     ret = list[i];

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list