Hello everyone, I am trying to get Saab's Electronic Parts Catalogue (EPC) to work with Wine. This is the only program I need running on Windows and stops me from fully enjoying the Linux. I'm running FC 9 with Wine v1.0. The installation of the program was very smoothly with no issues at all. However it fails to start - hangs when the main screen is supposed to show. I am getting following messages on the console. Any ideas/suggestions would be highly appreciated: Code: err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination fixme:storage:StgCreateDocfile Transacted mode not implemented. err:ole:marshal_object object doesn't expose interface {00000126-0000-0000-c000-000000000046}, failing with error 0x80004002 err:rpc:I_RpcReceive we got fault packet with status 0x80004002 err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002 fixme:ole:DllGetClassObject CLSID: {b196b286-bab4-101a-b69c-00aa00341d07}, IID: {d5f569d0-593b-101a-b569-08002b2dbf7a} err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 err:ole:CoGetClassObject no class object {b196b286-bab4-101a-b69c-00aa00341d07} could be created for context 0x80000001 err:ole:marshal_object couldn't get IPSFactory buffer for interface {b196b284-bab4-101a-b69c-00aa00341d07} err:rpc:I_RpcReceive we got fault packet with status 0x80004002 err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
jorl17
2008-Sep-05 01:16 UTC
[Wine] Re: Saab Electronic Parts Catalogue (EPC) hangs upon startup
Hi, to fix the last warnings you can get winetricks and install msls31 and riched20. So: Code: cd ~ wget http://www.kegel.com/wine/winetricks sh winetricks msls31 riched20 This 'might' fix it (if it doesn't try adding riched30 to the last line). If it does, tell us, please.
jorl17
2008-Sep-05 16:05 UTC
[Wine] Re: Saab Electronic Parts Catalogue (EPC) hangs upon startup
Also, did you try to change emulated version? Sometimes it helps due to different functions for the same means.
jorl17
2008-Sep-06 13:57 UTC
[Wine] Re: Saab Electronic Parts Catalogue (EPC) hangs upon startup
qwertymn wrote:> 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; > }MSDN:> GetDIBits > The GetDIBits function retrieves the bits of the specified compatible bitmap and copies them into a buffer as a DIB using the specified format.> Return Values > > If the lpvBits parameter is non-NULL and the function succeeds, the return value is the number of scan lines copied from the bitmap.I don't exactly agree with patches that only try to work around past some point. Because what we are doing here is bad (I believe, but correct me if wrong), because we are saying that it all went well and that we copied one scanline from the bitmap, when, in fact, that wasn't the case. So this means we are 'lying' to get one app to get past one point, which may make a bunch of other games not work or even make this game fail later on (which could be the case). But, oh well, you know that:> stupid hackI think that a bug should be submitted with all the necessary information and this could be later fixed. If you can live with that fix I suggest you make a specific wine-patched-version that only runs that application, so that you know that won't affect other games. But, oh well, I'm glad you got it to work to the degree you needed :)