C++
bool acrxUnloadModule( const ACHAR * moduleName, bool asCmd = false );
File
rxregsvc.h
Description
This function is a "C" code wrapper for:
acrxDynamicLinker->unLoadModule(moduleName);
which unloads the ObjectARX program whose file name is moduleName. The moduleName string must exactly match (case and all) the string used to load the module or else the unload may fail.
When asCmd is false, it's possible to call this method more than once and still get a successful return value. This method will simply decrement the reference count for the application.
Note
The asCmd value used for acrxUnloadModule() must be the same as the one used for acrxLoadModule().
Parameters
Parameters | Description |
---|---|
moduleName | Input file name or URL of ObjectARX program to unload |
asCmd | Input Boolean indicating whether to unload the application as if by user command |