.NET

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

How to automate loading dlls.

136 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 (136 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 (136 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 (136 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!