JVCL Help:TJvPluginManager.LoadPlugin

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Loads a plugin.


Pascal

 procedureLoadPlugin(FileName: string; PlgKind: TPluginKind);


Parameters

Parameters Description
FileName: string Name of the DLL or package to load.
PlgKind: TPluginKind Type of plugin (either plgDLL or plgPackage).


Description

LoadPlugin will load the specified filename and treat it as the specified plugin type. If the file is not a valid plugin or an error occurs during loading and/or initializing, an exception will be raised.
For each command the plugin provides, the OnNewCommand event is called.


See Also

TJvPluginManager.LoadPlugins, TJvPluginManager.Plugins


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page