clearz Posted November 7, 2003 Posted November 7, 2003 (edited) Hi I first have to say im quickly loosing fate in c# as a serious language. Maby its different if you are using Visual Studio but for somebody like myself who liked to hard code in a text editor its a real pain in the butt. Anyway I have downloaded the Windows Media SDK from Microsofts site. There is a dll file Interop.WMEncoderLib.dll which im sure is the main file you need so when I am compiling I reference it by using /r:Interop.WMEncoderLib.dll this lets me compile the program ok. Now when I go and run it I keep getting an exception "COM object with CLSID {632B606A-BBC6-11D2-A329-006097C4E476} is either not valid or not registered.". I have tried using ResAsm.exe and all that but I still am getting the message. Can anybody please help. Thanks John Cleary Edited November 7, 2003 by clearz Quote
Moderators Robby Posted November 10, 2003 Moderators Posted November 10, 2003 Have you tried using WMPLib.dll ? Quote Visit...Bassic Software
clearz Posted November 10, 2003 Author Posted November 10, 2003 I think that file is for playing media files. I am trying to encode them. Do you know of any other librarys that will let me encode in WMA perhaps one that you import using the: using System.Runtime.InteropServices; [DllImport("user32.dll",EntryPoint="FindWindow")] method. All I want to be able to do is encode a WMA file (I was hoping to do it directly from the line in or the mic in real time if possible) regards John. Quote
mcse3010 Posted December 29, 2003 Posted December 29, 2003 WMSDK Proglems Well I was having the same issue with the "COM object with CLSID {632B606A-BBC6-11D2-A329-006097C4E476} is either not valid or not registered." error... when I was attempting to deploy my app to my Win2K Server from my workstation. The Encoder app (and consequently DirectX) must be installed on the server for it to work... the WMEncoder.dll is simply an interop library, and doesn't really contain any of the workhorse code, its simply a COM interface into the WMEncoder tools... Anyway... I hope this helps (even if it is a little late)... Thanks, Chadwick Quote
Recommended Posts