dll_open (STRING* pathname)
Opens a DLL plugin with the
given name. Plugin functions and engine extensions can be called afterwards.
- the DLL's file name
including the relative or absolute path (char* or STRING*).
0 if the DLL can't be found, otherwise nonzero.
This function only opens plugins created with the Plugin
SDK. Functions of normal DLLs can be accessed with the
Windows LoadLibrary function
or through a PRAGMA_API declaration.
This function is only required for plugins located
in a certain path
(relative to the work folder)
. Plugins in the default folder (see PLUGINDIR)
are automatically opened.
- The plugin is automatically closed on engine exit.