.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add many paths into loader key

7 REPLIES 7
Reply
Message 1 of 8
ditran7577
833 Views, 7 Replies

Add many paths into loader key

Hi everybody,

 

I try to add some paths into registry value as picture:

test.png

Is there any way to do this?

 

Thanks for any help.

7 REPLIES 7
Message 2 of 8
mzakiralam
in reply to: ditran7577

I am afraid that multipath is not valid for 'LOADER' key. Better to create individual key for test2.dll
Message 3 of 8
StephenPreston
in reply to: ditran7577

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.

 

 

Cheers,

Stephen Preston
Autodesk Developer Network
Message 4 of 8
ditran7577
in reply to: ditran7577

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?

Message 5 of 8
jeff
in reply to: ditran7577

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.

 

 

 

 

 

You can also find your answers @ TheSwamp
Message 6 of 8
StephenPreston
in reply to: ditran7577

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.

Cheers,

Stephen Preston
Autodesk Developer Network
Message 7 of 8
ditran7577
in reply to: StephenPreston

Thank Stephen, but I cannot access to provided link.
Message 8 of 8

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 -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost