The usual way to do this is to create a 'loader DLL' that you set the demand load registry keys for. This loader DLL then takes care of loading any other required modules. For AutoCAD 2012 and above you should also look at the AutoLoader feature as a simple way to define demand load settings for your plugins.
Thanks for the comments. But I have many dll files, so I don't want to create many keys in registry.
Can you tell more clearly or provide any links to learn?
As Stephen mentioned AutoLoader and a "Loader dll" I use AutoLoader to load a assembly that has no other references other than AutoCAD & BCL.
It just knows to find a file in same location that contains paths to network locations which contains another file for instructions.
The instructions tell it to copy, copy if file is newer, delete, include subdirectories, etc..... files inside its .bundle folder,
and load any assemblies, cui, etc... that needs to be loaded.
Also update the file used to find its location if needed to move.
The handout for this AU class is probably a good starting point - https://events.au.autodesk.com/connect/sessionDeta
>> but I cannot access to provided link
The point on the end is too much, should be:
- alfred -
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!