[Bug 20129] FaleWEB doesn't run on Wine (crashes on startup)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 3 16:29:09 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=20129

Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xerox_xerox2000 at yahoo.co.uk

--- Comment #5 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> 2010-10-03 16:29:08 CDT ---
(In reply to comment #3)
> Any ideas or workarounds for this ?

Looks like the problem is here:

001c:Call user32.FindWindowA(0045b074 "Shell_TrayWnd",0045b5dc "") ret=00438c6d
001c:Ret  user32.FindWindowA() retval=00000000 ret=00438c6d

Below is a stupid hack that allows me to start the application. I guess the
application expects to find the Shell_TrayWnd , but it doesn;t find it. Anyone
an idea why?

diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index ee44278..2d8c9a6 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -1775,7 +1775,10 @@ HWND WINAPI FindWindowExW( HWND parent, HWND child,
LPCWS
  */
 HWND WINAPI FindWindowA( LPCSTR className, LPCSTR title )
 {
+    CHAR sh[] = "Shell_TrayWnd";
+
     HWND ret = FindWindowExA( 0, 0, className, title );
+    if(!strcmp(sh, className)) return 0xcaca;
     if (!ret) SetLastError (ERROR_CANNOT_FIND_WND_CLASS);
     return ret;
 }

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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