C++
virtual AcadApp::ErrorStatus registerApp( AcadApp::LoadReasons alr, const ACHAR * logicalName, const ACHAR* moduleName = nullptr, EntryPointFunc entryPoint = nullptr ) = 0;
Description
Registers an application for dynamic loading.
Parameters
| Parameters | Description |
|---|---|
| alr | Input load reason |
| logicalName | Input Boolean indicating whether to register the application under the Autodesk/ObjectDBX area of the registry |
| moduleName | Input module name for the application; internal use only |
| entryPoint | Input Entrypoint function for the application; internal use only |
Returns
AcadApp::eOk if success.
AcadApp::eRejected if entry cannot be removed.
AcadApp::eKeyNotFound if entry cannot be found.
Links
Previous Declaration
AutoCAD 2018 through AutoCAD 2024
virtual AcadApp::ErrorStatus registerApp(AcadApp::LoadReasons alr, const ACHAR *logicalName, void* entryPoint = nullptr) = 0;
History
AutoCAD 2025
moduleName argument was added to the signature.,