-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
i'm trying to get runnig IGI2 and i have a strange problem with dmusic and the ole classfactory. As you can see on traces i can't load dmusic.dll for creating the class factory (dlls/ol32/compobj.c:1162). When i change the .reg to use dsound instead dmusic (only for testing if it can load correctly) dsound is correctly loaded (but as it don't implement the dmusic interfaces its failed :) ) Have you an idea why ?
Regards, Raphael
- -=(FeniX as fenix@DarkBluE)-(on tty0)-(at 11:02:06)=- -={$:'/usr/src/wine/Program Files/IGI 2 Multiplayer Demo/pc'}=->wine - --debugmsg +ole,+dmusic,+d3d,+ddraw -- igi2.exe trace:ole:DllMain 0x40af0000 0x1 0x1 trace:ole:CoRegisterMallocSpy trace:ole:IMallocSpy_fnQueryInterface ({0000001d-0000-0000-c000-000000000046},0x40722d78) trace:ole:CoInitializeEx ((nil), 2) trace:ole:CoInitializeEx () - Initializing the COM libraries trace:ole:RunningObjectTableImpl_Initialize () trace:ddraw:initialize enabling DirectDraw HAL trace:ole:DllMain 0x40af0000 0x2 (nil) trace:ddraw:DirectDrawCreate ((null),0x4072286c,(nil)) trace:ddraw:DDRAW_Create ((null),0x4072286c,(nil),0) trace:ddraw:DDRAW_FindDriver ((null)) trace:ddraw:HAL_DirectDraw_Create trace:ddraw:HAL_DirectDraw_Construct (0x4043ab40,0) trace:ddraw:User_DirectDraw_Construct (0x4043ab40,0) trace:ddraw:Main_DirectDraw_QueryInterface (0x4043ab40)->({6c14db80-a733-11ce-a521-0020af0be560},0x4072286c) trace:ddraw:Main_DirectDraw_AddRef (0x4043ab40)->() incrementing from 1. trace:ddraw:Main_DirectDraw_Release (0x4043ab40)->() decrementing from 2. trace:ddraw:Main_DirectDraw_QueryInterface (0x4043ab40)->({b3a6f3e0-2b43-11cf-a2de-00aa00b93356},0x4072287c) trace:ddraw:Main_DirectDraw_AddRef (0x4043ab40)->() incrementing from 1. trace:ddraw:Main_DirectDraw_Release (0x4043ab40)->() decrementing from 2. fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x4043ab40)->(00000000,00000008) - DDSCL_NORMAL trace:ddraw:Main_DirectDraw_CreateSurface (0x4043ab40)->(0x40722888,0x40722840,(nil)) trace:ddraw:Main_DirectDraw_CreateSurface Requesting surface desc : - DDSD_CAPS : DDSCAPS_PRIMARYSURFACE trace:ddraw:User_DirectDrawSurface_Construct (0x4043af70,0x4043ab40,0x40722764) trace:ddraw:DIB_DirectDrawSurface_Construct (0x4043af70)->(0x4043ab40,0x40722764) trace:ddraw:Main_DirectDrawSurface_Construct (0x4043af70)->(0x4043ab40,0x40722764) trace:ddraw:DIB_DirectDrawSurface_Construct (1600x1200, pitch=4800) trace:ddraw:create_dib DIBSection at : 0x41a20000 trace:ddraw:DIB_DirectDrawSurface_alloc_dc Grabbing a DC for surface: 0x4043af70 trace:ddraw:Main_DirectDrawSurface_QueryInterface (0x4043af70)->({da044e00-69b2-11d0-a1d5-00aa00b8dfbb},0x40722874) trace:ddraw:Main_DirectDrawSurface_Release (0x4043af70)->(): decreasing from 2 trace:ddraw:Main_DirectDrawSurface_QueryInterface (0x4043af70)->({0b2b8630-ad35-11d0-8ea6-00609797ea5b},0x40722880) trace:ddraw:Main_DirectDrawSurface_Release (0x4043af70)->(): decreasing from 2 trace:ddraw:Main_DirectDrawSurface_Release (0x4043af70)->(): decreasing from 1 trace:ddraw:User_DirectDrawSurface_final_release waiting for update thread to terminate... trace:ole:DllMain 0x40af0000 0x2 (nil) trace:ole:DllMain 0x40af0000 0x3 (nil) trace:ddraw:User_DirectDrawSurface_final_release update thread terminated trace:ddraw:DIB_DirectDrawSurface_free_dc Releasing DC for surface: 0x4043af70 trace:ddraw:Main_DirectDrawSurface_Release released surface 0x4043af70 trace:ddraw:Main_DirectDraw_Release (0x4043ab40)->() decrementing from 1. trace:ole:CoInitializeEx ((nil), 2) trace:ole:WINE_StringFromCLSID 0x670694->{636B9F10-0C7D-11D1-95B2-0020AFDC7421} trace:ole:CoGetClassObject CLSID: {636b9f10-0c7d-11d1-95b2-0020afdc7421}, IID: {00000001-0000-0000-c000-000000000046} err:ole:CoGetClassObject couldn't load InprocServer32 dll dmusic.dll fixme:ole:CoCreateInstance no classfactory created for CLSID {636b9f10-0c7d-11d1-95b2-0020afdc7421}, hres is 0x80070005 trace:ole:DllMain 0x40af0000 0x0 0x1 trace:ole:CoRevokeMallocSpy trace:ole:MallocSpyDumpLeaks leaks: 0 trace:ole:IMallocSpy_fnRelease (0x40b44d78)->(count=0) - -=(FeniX as fenix@DarkBluE)-(on tty0)-(at 11:02:11)=-
You've made sure it's registered correctly, right? DMusic has quite a large number of objects/interfaces iirc. Of course DMusic is all stubs at the moment anyway......
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le Jeudi 29 Mai 2003 11:18, Mike Hearn a écrit :
You've made sure it's registered correctly, right? DMusic has quite a large number of objects/interfaces iirc. Of course DMusic is all stubs at the moment anyway......
Well, i'm trying to get it usable because some games crash when they use dmusic APIs. And i have found what happened: seems i have broken my dmusic ;))
Thanks Raphael
The classes must be added to the registry. Try the attached patch. (entries come from a running Windows 2000 pro)
--- Raphaël Junqueira fenix@club-internet.fr a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
i'm trying to get runnig IGI2 and i have a strange problem with dmusic and the ole classfactory. As you can see on traces i can't load dmusic.dll for creating the class factory (dlls/ol32/compobj.c:1162). When i change the .reg to use dsound instead dmusic (only for testing if it can load correctly) dsound is correctly loaded (but as it don't implement the dmusic interfaces its failed :) ) Have you an idea why ?
Regards, Raphael
===== Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259 No more War !
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
For the Law of Oil and Fire, Im an European that lives in France. For all my Brothers and friends, Im a human living on Earth.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
--- winedefault.reg 2003-05-29 11:53:28.000000000 +0200 +++ winedefault.reg.new 2003-05-29 11:56:54.000000000 +0200 @@ -1992,6 +1992,19 @@ [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Microsoft.DirectMusicMelodyFormulationTrack.1\CLSID] @="{B0684266-B57F-11D2-97F9-00C04FA36E58}"
+[HKEY_CLASSES_ROOT\CLSID{636B9F10-0C7D-11D1-95B2-0020AFDC7421}] +@="DirectMusic" + +[HKEY_CLASSES_ROOT\CLSID{636B9F10-0C7D-11D1-95B2-0020AFDC7421}\InProcServer32] +@="C:\WINNT\System32\dmusic.dll" +"ThreadingModel"="Apartment" + +[HKEY_CLASSES_ROOT\CLSID{636B9F10-0C7D-11D1-95B2-0020AFDC7421}\ProgID] +@="Microsoft.DirectMusic.1" + +[HKEY_CLASSES_ROOT\CLSID{636B9F10-0C7D-11D1-95B2-0020AFDC7421}\VersionIndependentProgID] +@="Microsoft.DirectMusic" + # As far as I know, not yet available ## Microsoft DirectSound Wave #[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8A667154-F9CB-11D2-AD8A-0060B0575ABC}]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The classes must be added to the registry. Try the attached patch. (entries come from a running Windows 2000 pro)
Well, its more cleaner than my hack thanks
Now i have to implement some stubs to avoid crash ,( Or find a way to say to unreal2 that we don't support dmusic
Regards, Raphael