.NET

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

How to automate loading dlls.

122 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 (122 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 (122 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 (122 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community