http://bugs.winehq.org/show_bug.cgi?id=6847
tom schorpp thomas.schorpp@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas.schorpp@googlemail.co | |m
--- Comment #9 from tom schorpp thomas.schorpp@googlemail.com 2008-01-09 16:59:19 --- hi, another app is affected : Enemy Engaded I , EECH community versions http://appdb.winehq.org/objectManager.php?sClass=version&iId=9282 DX7 based, DPlay4
I can remember versions 1.6.x of the game running under Wine versions of that release times, ~2004-6, now the game does not start up anymore and fails here:
Latest Full CVS Win32 Engine C-Source Code available under no-cost NDA from http://www.eechcentral.com, ask devlist for access :
void create_direct_play_interface ( void ) {
HRESULT ret;
destroy_direct_play_interface ();
ret = CoCreateInstance ( &CLSID_DirectPlay, NULL, CLSCTX_INPROC_SERVER, &IID_IDirectPlay4A, ( LPVOID * ) &direct_playx );
if ( ret != 0 ) { // must! debug_fatal ( "DIRECTP: Unable to create DirectPlay4A" ); } }
with
trace:ole:DllMain 0x7e9b0000 0x8 (nil) trace:ole:DllMain 0x7e9b0000 0x1 0x1 trace:ole:CoInitializeEx ((nil), 0) trace:ole:CoInitializeEx () - Initializing the COM libraries trace:ole:RunningObjectTableImpl_Initialize trace:ole:apartment_construct creating new apartment, model=0 trace:ole:apartment_construct Created apartment on OXID 80000cafe trace:ole:DllMain 0x7e9b0000 0x2 (nil) trace:ole:DllMain 0x7e9b0000 0x2 (nil) trace:ole:CoCreateInstance (rclsid={2fe8f810-b2a5-11d0-a787-0000f803abfc}, pUnkOuter=(nil), dwClsContext=00000001, riid={2db72491-652c-11d1-a7a8-0000f803abfc}, ppv=0x782a4c) err:ole:CoCreateInstance apartment not initialised trace:ole:CoCreateInstance (rclsid={d1eb6d20-8923-11d0-9d97-00a0c90a43cb}, pUnkOuter=(nil), dwClsContext=00000001, riid={0ab1c531-4745-11d1-a7a1-0000f803abfc}, ppv=0x782a48) err:ole:CoCreateInstance apartment not initialised trace:ole:CoUninitialize () trace:ole:apartment_release 80000cafe: after = 0 trace:ole:apartment_release destroying apartment 0x1286a0, oxid 80000cafe trace:ole:CoUninitialize () - Releasing the COM libraries trace:ole:RunningObjectTableImpl_UnInitialize trace:ole:RunningObjectTableImpl_Release (0x128278) trace:ole:RunningObjectTableImpl_Destroy () trace:ole:DllMain 0x7e9b0000 0x0 0x1
There've been no relevant changes in EECH in dplay code for years nor the change of the CoCreateInstance call, did You abandon support for dplay 4 or is the COM/ole system in Wine broken?
now pulling wine repository HEAD and try to fix or can any of You see the issue clear?
workarounds with native DLLs dont work.
y tom