Regular API function

simLoadModule / sim.loadModule

Description Deprecated. Use loadPlugin instead
C/C++
synopsis
int simLoadModule(const char* filenameAndPath,const char* pluginName)
C/C++
parameters
filenameAndPath: file name and path of the plugin
pluginName: name of the plugin. If the file name is simExtXXX.dll, then the name should be XXX
C/C++
return value
handle of the plugin if value is 0 or positive. otherwise:
-3: plugin could not be loaded
-2: plugin is missing entry points
-1: plugin could not initialize
Lua
synopsis
int pluginHandle=sim.loadModule(string filenameAndPath,string pluginName)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
int pluginHandle=sim.loadModule(string filenameAndPath,string pluginName)