[Bug 20138] Tropico 3 doesn't start

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 25 04:50:18 CDT 2009


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


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

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




--- Comment #9 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2009-09-25 04:50:16 ---
confirming, same bug is in demo. From a generated debuglog this jumped out:

0009:Call user32.CreateIconIndirect(0032f8a8) ret=005d5e95
0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0xb7d23896
ip=b7d23896 tid=0009
0009:trace:seh:raise_exception  info[0]=00000000
0009:trace:seh:raise_exception  info[1]=00330000
0009:trace:seh:raise_exception  eax=00000000 ebx=7ec69ff4 ecx=00000020
edx=00001000 esi=00330000 edi=00c67494
0009:trace:seh:raise_exception  ebp=0032f6f8 esp=0032f698 cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00010246
0009:trace:seh:call_vectored_handlers calling handler at 0x7e1ab6d0
code=c0000005 flags=0
0009:trace:seh:call_vectored_handlers handler at 0x7e1ab6d0 returned ffffffff
0009:Ret  user32.CreateIconIndirect() retval=0000115e ret=005d5e95


With the hack below the demo starts fine for me (though because of hack, i
guess, i now have invisible cursor ;) )

diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c
index 23de6a5..f62d19a 100644
--- a/dlls/user32/cursoricon.c
+++ b/dlls/user32/cursoricon.c
@@ -2106,7 +2106,7 @@ HICON WINAPI CreateIconIndirect(PICONINFO iconinfo)
     BITMAP bmpAnd;
     HICON16 hObj;
     int xor_objsize = 0, sizeXor = 0, sizeAnd, planes, bpp;
-
+    return 0;
     TRACE("color %p, mask %p, hotspot %ux%u, fIcon %d\n",
            iconinfo->hbmColor, iconinfo->hbmMask,
            iconinfo->xHotspot, iconinfo->yHotspot, iconinfo->fIcon);

-- 
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