Hi everybody,
I try to add some paths into registry value as picture:
Is there any way to do this?
Thanks for any help.
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.
Hi Stephen,
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/sessionDetail.ww?SESSION_ID=2142. Otherwise, search for 'Autoloader' on the ADN DevBlog, Kean's Through the Interface blog, this forum, or TheSwamp.
Hi,
>> but I cannot access to provided link
The point on the end is too much, should be:
https://events.au.autodesk.com/connect/sessionDetail.ww?SESSION_ID=2142
- alfred -
Can't find what you're looking for? Ask the community or share your knowledge.