...
Calling a function defined in a plug-in is done via the intrinsic functions RUNPLUGIN (returning a value) and RUNPLUGIN$ (returning a string).
Place the plug-in (the .dll file) in the knowledgebase folder under Applic\Plugins\
The KE has to define the return type, the name, the version and the input parameters for the function.
...