[Wine] Re: Saab Electronic Parts Catalogue (EPC) hangs upon startup

qwertymn wineforum-user at winehq.org
Sat Sep 6 04:58:27 CDT 2008


hi, i get different console output then you, so for now i'll just share my experiences here. I installed on a complete fresh ~/.wine (you can do something like WINEPREFIX=~/garbage wine SETUP.EXE, after installation WINEPREFIX=~/garbage wine EPC.EXE)
The installation went smoothly, after starting i get the splash screen, then the main gui, but then an error messagebox pops up about a DIB error, and then the app freezes. I guess that 's a bug in wine somewhere. I did not install any additional winetricks packages. With the stupid hack below i was able to start the app, but i'm not sure if it's functional, as many menu items are greyed out, and i dunno really how to use the app. Maybe you could try the above recipe , and see  how far you can get. The DIB-bug needs more investigation, but i lack time atm to do so



diff --git a/dlls/gdi32/dib.c b/dlls/gdi32/dib.c
index 440857d..2d7b0ac 100644
--- a/dlls/gdi32/dib.c
+++ b/dlls/gdi32/dib.c
@@ -1076,6 +1076,7 @@ INT WINAPI GetDIBits(
 done:
     release_dc_ptr( dc );
     GDI_ReleaseObj( hbitmap );
+    if(!lines) return 1;
     return lines;
 }







More information about the wine-users mailing list