Dmusic ClassFactory with IGI2

Sylvain Petreolle spetreolle at yahoo.fr
Thu May 29 05:06:39 CDT 2003


The classes must be added to the registry.
Try the attached patch. (entries come from a running Windows 2000 pro)

 --- Raphaël Junqueira <fenix at 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
-------------- next part --------------
--- 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}]


More information about the wine-devel mailing list