Main > Audio/Jukebox/MP3 Forum

Plugins: Document API for JukePlugSys

<< < (66/80) > >>

David_AVD:
OK, a couple of hours of fiddling around and I now have the basic Delphi host code running. It finds all the JPS dll's in the App/Plugins directory and generates the list. It also sends a Juke_Initialize command to each plugin at startup and a Juke_Shutdown to each plugin when it terminates. So far, so good!

loadman:

--- Quote from: David_AVD on March 06, 2008, 01:35:05 am ---OK, a couple of hours of fiddling around and I now have the basic Delphi host code running. It finds all the JPS dll's in the App/Plugins directory and generates the list. It also sends a Juke_Initialize command to each plugin at startup and a Juke_Shutdown to each plugin when it terminates. So far, so good!

--- End quote ---

Cool, It would be cool to post a simpleexample of a Delphi Host to add to the SDK if you could post one.

David_AVD:
No problem. I'll post a host example when I'm sure it's working the way it should. Today was a big learning curve but I'm glad I stuck at it.  :)

Space Fractal:
personly you should use linked list, not array, so you dosent have a limit on number of plugins. Otherwice set a limit to 32 or something like that.

Otherwice I use BlitzMax for my jukebox app, and Pure Basic for the dll examples.

When you release your jukebox application, let us known, so we can add your application on the homepage.

welcome onboard.

unclet:
I meant to tell you that my jukebox software allows each plugin to be "Enabled" or not via the "Plugin menu" page.   Basically, on the plugin page my application lists all of the plugins found by their name, author, description ,etc... and then allows the user to check which plugins they want to be enabled.   This allows the user to keep different versions of plugins in the "plugin" directory without having the software try to use them all.  When the user highlights a plugin from my list then they can also press a "Configure" button to configure the plugin.  Actually, when this button is pressed then my software simply calls the "Juke_Configure" function of that plugin.   The plugin itself will display a pop up window with all the configuration options it allows.

Good luck

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version