Windows Media SDK (LOL)

clearz

Member
Joined
Jul 21, 2003
Messages
22
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
 
Last edited by a moderator:
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.
 
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 doesnt 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
 
Back
Top