MMBDLL
copyright © 2002-2003 Squash Productions
Commands

 

There are 4 different commands you can run using MMBDLL, those are the following:

  • Path:
    This command sets the path in which the dll file is located and its name, in other words, where it is inside your computer. If you are using WinAPI there is not need to include the path, just the name of the dll.

     Path$ = 'C:\mydll.dll'
     PluginSet("PlugIn","Path$")
     PluginRun("PlugIn","Path")

  • Functions:
    This determines the function of the dll that is going to be called by the plug-in.

     Functions$ = 'MyDLLFunction'
     PluginSet("PlugIn","Functions$")
     PluginRun("PlugIn","Functions")

  • Parameters:
    This sends the parameters you choose from MMB to the DLL and then call the function. You can send any type of variable to the DLL. Each parameter is separated by a | and if you do not want to send any paramters simply set the variable to ''.

     Parameters$ = '0| Test Message | Test Title'
     PluginSet("PlugIn","Parameters$")
     PluginRun("PlugIn","Parameters")

  • Registration:
    Use this to register MMBDLL and get rid of those nasty nag screens.

     Reg$ = 'PutRegCodeHere'
     PluginSet("PlugIn","Reg$")
     PluginRun("PlugIn","Registration")


  • Once you have called the DLL it may send you some results. To view these results all you have to do is run PluginGet. The results are always sent as Strings and if there is no results it will return "No Results".
  •  PluginGet("PlugIn","Result$")
     Message("The DLL sent these results","Result$")

 

Back to contents