[Bug 32917] Carapace crashes on start
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Mar 15 06:54:23 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=32917
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> ---
Looks like app is not happy that CreateIconFromResourceEx returns 0:
warn:cursor:create_icon_from_bmi invalid header size 1196314761
Maybe windows is not so strict/more flexible in working aroubd this, needs
tests
Note: Even returning a fakepointer is enough to make the app start:
diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c
index 7d8d620..a58ba11 100644
--- a/dlls/user32/cursoricon.c
+++ b/dlls/user32/cursoricon.c
@@ -1282,7 +1282,7 @@ HICON WINAPI CreateIconFromResourceEx( LPBYTE bits, UINT
cbSize,
BOOL bIcon, DWORD dwVersion,
INT width, INT height,
UINT cFlag )
-{
+{ return 0xfafafafa;
POINT hotspot;
const BITMAPINFO *bmi;
--
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