I have a .NET application where I am attempting to convert audio files to mp3. I have installed dBpoweramp Reference R15, on my machine and I included a reference to the DLL: C:\Program Files\dbpoweramp\dmcscriptting.dll in my project. This DLL shows as DMCSCRIPTINGLib in my references folder and has the following information in properties:
Name: Interop.DMCSCRIPTINGLib
Identity: {E0F7789A-88C0-450B-AD6C-A7EB6D227127}\1.0\0\tlbimp
Embed Interop Types: False
(and some others as well)
In my application I am using the following lines to attempt to convert:
When I hit the first line I get the following error:
Any idea why this would be happening? Suggestions on how to fix?
Name: Interop.DMCSCRIPTINGLib
Identity: {E0F7789A-88C0-450B-AD6C-A7EB6D227127}\1.0\0\tlbimp
Embed Interop Types: False
(and some others as well)
In my application I am using the following lines to attempt to convert:
Code:
DMCSCRIPTINGLib.Converter dMC = new DMCSCRIPTINGLib.ConverterClass(); dMC.Convert(OrigFilePath, OrigFileFolder + "\\" + NewFileName, "mp3 (Lame)", "-b=128", "");
Retrieving the COM class factory for component with CLSID {1C2E0932-61B5-4EAB-A832-06EE6564047D} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Comment