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

How to automate loading dlls.

3 REPLIES 3
Reply
Message 1 of 4
newArch
273 Views, 3 Replies

How to automate loading dlls.

Hello there!
Is there any way to automatically load a dotnet dll in AutoCAD.
for ex to put it in startup suit.
thanks and regards.
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: newArch

You can use AutoCAD's demand loading feature for dotnet projects. Add the
following registry key:

HKEY_LOCAL_MACHINE
SOFTWARE
Autodesk
AutoCAD
R16.2
[Your AutoCAD Version Key]
Applications
[Your app name]

Create the following values under the key:

DESCRIPTION = [A description of your app]
LOADER = [Full path to your assembly DLL]
MANAGED = 1 (dword)
LOADCTRLS = 2 (dword)

Look in the ObjectARX documentation for the values you can use for
LOADCTRLS. The value 2 is used when you want your app to load when AutoCAD
starts up.

Scott

wrote in message news:4966385@discussion.autodesk.com...
Hello there!
Is there any way to automatically load a dotnet dll in AutoCAD.
for ex to put it in startup suit.
thanks and regards.
Message 3 of 4
newArch
in reply to: newArch

Thanks dear Scott McFarlane.
Message 4 of 4
as
in reply to: newArch

an other method is, put it in the acad.lsp in your program directory.

lsp is attached

wkr

Harold van Aarsen

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