Class Hierarchy
AcRxObject AcadAppInfo
C++
class AcadAppInfo : public AcRxObject;
File
appinfo.h
Description
Objects of the AcadAppInfo class are used by the ObjectARX application demand load mechanism. AcadAppInfo objects are used by the AutoCAD system when processing unknown commands, and during drawing load or dxfin when custom classes are detected for which there is no controlling ObjectARX application currently loaded. When used for custom classes, an AcadAppInfo object is created for each custom class encountered for which there is no controlling ObjectARX application present. For unknown commands, an AcadAppInfo object is used to represent a single ObjectARX application. In all cases, each AcadAppInfo object works with the registry data of only one ObjectARX application.
Not all of the AcadAppInfo object's data fields are used for all tasks, so depending on the use, some of the fields may be NULL. However, the appName must always be present because it specifies the registry key of the data to work with (which uniquely identifies the ObjectARX application whose data the AcadAppInfo object is to work with).
Each AcadAppInfo object has the ability to create, read, and write system registry information necessary for AutoCAD to demand load an ObjectARX application. The AcadAppInfo object can also contain a pointer to a function that is to be used for loading the ObjectARX application in an unknown command situation. This pointer would be set from within an AcEditorReactor::unknownCommand() notification call to an already loaded controlling ObjectARX application.
Links
AcadAppInfo Enumerations, AcadAppInfo Methods
See Also
acrxRegisterApp(), acrxUnregisterApp(), AcEditorReactor::unknownCommand(), AcRxDynamicLinker