Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (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 by clearz
Posted

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.

  • 1 month later...
Posted

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...