The AutoCAD DEMANDLOAD system variable controls the demand loading options of ObjectARX applications.
By default the DEMANDLOAD system variable is set (when AutoCAD is installed) to enable demand loading of applications on command invocation or on proxy detection, when either option is specified in the system registry entry for an application. The setting of DEMANDLOAD does not affect demand loading on AutoCAD startup, or on request by a user or application when either of these options is specified in the system registry. (See Creating AutoCAD Subkeys and Values).
The legitimate values for the system variable may be used in combination. They are defined as follows:
Disables demand loading of all ObjectARX applications.
Enables demand loading of ObjectARX applications upon detection of proxy objects.
Enables demand loading of ObjectARX applications upon command invocation.
Enables demand loading for both proxy objects and command invocation (the default).
The DEMANDLOAD system variable allows the user to disable demand loading of all ObjectARX applications that have system registry settings specifying demand loading on command invocation and proxy detection. It cannot cause an application to be demand loaded if the appropriate system registry settings do not exist.