title
Products            Buy            Support Forum            Professional            About            Codec Central
 

dMCScripting DLL in C*

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Darryl R
    dBpoweramp Enthusiast
    • Jul 2014
    • 99

    dMCScripting DLL in C*

    Spoon,

    I used to be able to include dMCScripting.DLL in a C-Sharp project and go, but I can no longer do it in C-Sharp 2013. It doesn't recognize the DLL as a valid component. If I run regsvr32 it appears to register and takes the reference in VS, but runtime fails on a COM not registered exception. Any ideas?
    Last edited by Darryl R; June 02, 2017, 04:34 PM.
  • Darryl R
    dBpoweramp Enthusiast
    • Jul 2014
    • 99

    #2
    Re: dMCScripting DLL in C*

    Disregard the regsvr32 bit; the bottom line is it no longer recognizes the registration of dMCScripting.dll. I'm using 15.3.

    Comment

    • Spoon
      Administrator
      • Apr 2002
      • 44041

      #3
      Re: dMCScripting DLL in C*

      Try uninstalling dBpoweramp and reinstall. If running security software, try to disable it.
      Spoon
      www.dbpoweramp.com

      Comment

      • Darryl R
        dBpoweramp Enthusiast
        • Jul 2014
        • 99

        #4
        Re: dMCScripting DLL in C*

        Already tried those.

        Comment

        • Darryl R
          dBpoweramp Enthusiast
          • Jul 2014
          • 99

          #5
          Re: dMCScripting DLL in C*

          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)).

          To be clear, I can add the reference in VS 2013, but when I instantiate DMCSCRIPTINGLib.Converter, I get this error.

          Are your COM classes 32-bit?
          Last edited by Darryl R; June 02, 2017, 05:57 PM.

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 44041

            #6
            Re: dMCScripting DLL in C*

            Create new C* Windows Project

            Right click References >> Add Reference, select browse and add the dmcscripting.dll from the dBpoweramp install folder.

            Check that the properties of your C* project have the Platform Target set to 64 bit (if dBpoweramp is installed on 64 bit Windows).
            Spoon
            www.dbpoweramp.com

            Comment

            • Darryl R
              dBpoweramp Enthusiast
              • Jul 2014
              • 99

              #7
              Re: dMCScripting DLL in C*

              I changed it from the default AnyCPU to x64 and it seems to have progressed. I'll follow up later.
              Last edited by Darryl R; June 02, 2017, 11:50 PM.

              Comment

              Working...

              ]]>