0x01
Load application on detection of proxy object
0x02
Load the application on AutoCAD startup
0x04
Load the application on command invocation
0x08
Load the application on request by user or other application
0x10
Do not load the application
0x20
Load the application transparently
I just figured out that these values are provided by the ApplicationLoadReasons enumerator in the acdbmgd.dll:

Where do you have to specify the values for the dll´s?
AntwortenLöschenEvery Autodesk Autocad application has its own registry key where all demand loading subkeys are stored.
AntwortenLöschenThese keys can be found at:
HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\"ReleaseVersion"\"ACAD-ProductID:LocaleID\Applications\'your app name here'"
Details about the product version and/or the language can be found here
Create your own keys for demand loading your application by adding a new subkey within the appropriate registry key.
Example:
AutCAD Architecture 2010:
HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R18.0\ACAD-8004:409\Applications\'your app name here'
Verstandeeen!
AntwortenLöschen