Connecting to MM API

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

ceinjz

Connecting to MM API

Post by ceinjz » Thu Mar 26, 2009 2:59 pm

I am trying to access MM from an external program written in VB6. I am having a problem accessing the MM API. To start off I took the sample directly from the Wiki

Dim SDB : Set SDB = CreateObject("SongsDB.SDBApplication")

SDB.ShutdownAfterDisconnect = False ' in case you want to keep an opened instance open after disconnecting the SDB object

This fails to create or return an object and gives an error.

MM us running but doesn't seem to register a COM. Can you guide me here?