.NET

Reply
Active Member
newArch
Posts: 9
Registered: ‎07-03-2005
Message 1 of 4 (137 Views)

How to automate loading dlls.

137 Views, 3 Replies
09-25-2005 12:09 PM
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.
*Scott McFarlane
Message 2 of 4 (137 Views)

Re: How to automate loading dlls.

09-28-2005 10:18 AM 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.
Active Member
newArch
Posts: 9
Registered: ‎07-03-2005
Message 3 of 4 (137 Views)

Re: How to automate loading dlls.

10-05-2005 02:27 AM in reply to: newArch
Thanks dear Scott McFarlane.
Active Contributor as
Active Contributor
as
Posts: 41
Registered: ‎04-27-2005
Message 4 of 4 (137 Views)

Re: How to automate loading dlls.

11-16-2005 06:35 AM 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.