[Bug 10525] HLSW 2 crashes at start

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 21 12:10:18 CST 2007


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xerox_xerox2000 at yahoo.co.uk
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #1 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2007-11-21 12:10:18 ---
Confirming the crash.
It looks as if it cannot find a resource. Ultimate stupid hack below gets up
the login window for me. Did you check if this application runs in windows?

diff --git a/dlls/kernel32/resource.c b/dlls/kernel32/resource.c
index ff2ec95..e26ddfa 100644
--- a/dlls/kernel32/resource.c
+++ b/dlls/kernel32/resource.c
@@ -233,7 +233,8 @@ HRSRC WINAPI FindResourceExW( HMODULE hModule, LPCWSTR
type, LPCWSTR name, WORD
         return HRSRC_32(ret);
     }

-    return find_resourceW( hModule, type, name, lang );
+   if( find_resourceW( hModule, type, name, lang ) ) return find_resourceW(
hModule, type, name, lang );
+   else return find_resourceW(hModule,0x0004, 0x047b,0x0409);
 }


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list