MB Version 6.8x


Developer's Guide: Develop your own plugins for MB


Which skills do I need?

You must have an experience in a programming language (Delphi, C, etc.) and be able to create dynamic link libraries (DLL).


How does it function?

Every plugin DLL has to be placed into the "PLUGINS" directory. At the startup MB will search for the files with ".DLL" extension and add the file name to the "Plugins" menu.

When you click on an icon from the "Plugins" tab the program will
1.) Load the DLL
2.) Look for a procedure named "showindex"
3.) Execute this procedure


Essential items to be included in DLL

1.) In the main DLL application there should a procedure "showindex"
2.) There should be a function named "version", which returns a Pchar value with the version number
3.) The data transfer for "showindex" and "version" must be set to "stdcall"
4.) The procedure "showindex" should have some forward reference to the main window of the plugin (the first window which the user sees)


Submitting the plugin

Feel free to send your plugin to "mb-dna@gmx.de"


Where can I get further help?

Writing DLLs with Delphi (and general information): http://delphi.about.com/od/objectpascalide/a/dlldelphi.htm
Specific problems with MB: write to "mb-dna@gmx.de"



Back to index