A java interface to MM3

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

Moderator: Gurus

refrancoeur
Posts: 13
Joined: Wed Oct 01, 2008 6:50 pm
Location: Washington, DC

A java interface to MM3

Post by refrancoeur » Sat Feb 14, 2009 7:43 pm

I have written a java interface to control MM using the open source jacob package and the SongsDB.... ActiveX objects. Everything is working beautifully except the events side. Jacob allows the trapping of of events using standard OLE/COM conventions, but MM does not seem to abide by these conventions. No matter what I do, the ActiveX events do not trigger a callback to my code -- it appears the events are not being triggered at all. Does the SongsDB.SDBApplication trigger events by default, or must something be set to enable event triggering? (I have tried using the SongsDB.SDBScriptControl object to register an event, but this made no difference.)

TIA,
Dick Francoeur