C++
struct AcadApp { enum LoadReasons { kOnProxyDetection = 0x01, kOnAutoCADStartup = 0x02, kOnCommandInvocation = 0x04, kOnLoadRequest = 0x08, kLoadDisabled = 0x10, kTransparentlyLoadable = 0x20, kOnIdleLoad = 0x40, kAutodeskInternal1 = 0x80, kOnRegAppDetection = 0x100, kOnNodEntryDetection = 0x200 }; enum ErrorStatus { eOk = 0, eInvalidKey = 1, eInvalidSubKey = 2, eKeyNotFound = 3, eOutOfMemory = 4, eInvalidValue = 5, eValueNotFound = 6, eKeyExists = 7, eRegAccessDenied = 8, eRejected = 9, eUnknownError = 10 }; };
File
rxdlinkr.h
Members
| Members | Description |
|---|---|
| kOnProxyDetection | Load the ObjectARX application when objects of custom classes it controls are loaded via drawing open, dxfin, insert, and so on. |
| kOnAutoCADStartup | Load the ObjectARX application when AutoCAD starts up. |
| kOnCommandInvocation | Load the ObjectARX application whenever an unknown command is executed for which it has a registry entry. |
| kOnLoadRequest | Allow loading of the ObjectARX application via the AcRxDynamicLinker::loadApp method. |
| kLoadDisabled | Do not demand load the ObjectARX application for any reason. |
| kTransparentlyLoadable | Load the ObjectARX application transparently. |
| kOnIdleLoad | Load the ObjectARX application when the system is idle. |
| kAutodeskInternal1 | For Autodesk internal use. |
| kOnRegAppDetection | Demand load based on AcDbRegAppTableRecord names. |
| kOnNodEntryDetection | Demand load based on names of Named Object Dictionary entries. |
Description
Struct contains enumerations pertaining to ObjectARX application-loading behavior and application-level error codes.
Previous Declaration
struct AcadApp {
enum LoadReasons {
kOnProxyDetection = 0x01,
kOnAutoCADStartup = 0x02,
kOnCommandInvocation = 0x04,
kOnLoadRequest = 0x08,
kLoadDisabled = 0x10,
kTransparentlyLoadable = 0x20,
kOnIdleLoad = 0x40,
kAutodeskInternal1 = 0x80
};
enum ErrorStatus {
eOk = 0,
eInvalidKey = 1,
eInvalidSubKey = 2,
eKeyNotFound = 3,
eOutOfMemory = 4,
eInvalidValue = 5,
eValueNotFound = 6,
eKeyExists = 7,
eRegAccessDenied = 8,
eRejected = 9,
eUnknownError = 10
};
};
History
AutoCAD 2025
kOnRegAppDetection and kOnNodEntryDetection enums were added.
AutoCAD 2024 and earlier
Signature changed.