You copied the Doc URL to your clipboard.

The MxPluginInit function

Represents the entry point into the plugin dynamic library (DLL or SO).

The plugin developer must place all the plugin initialization and setup code into the MxPluginInit() function. The MxPluginInit contains the code for inserting all the callbacks for menu items and batch commands.

The following is an example of an empty template MxPluginInit() function:

extern "C" void MxPluginInit(void){
    //Place your plugin setup and initialization code here 

The MxPluginInit() function must be exported from the plugin dynamic library (DLL). For Win32, the function must be added to the EXPORTS section of the Microsoft Visual C++ DEF file.

Was this page helpful? Yes No