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

Distribute my Application

5 REPLIES 5
Reply
Message 1 of 6
mzakiralam
620 Views, 5 Replies

Distribute my Application

Hi ,

 

I have managed to create an application. Now I want to distribute my DLL to other users.

 

What is the most efficient way to distribute my DLL so that my user do not need to configure anything. They just put the DLL in a specific location and when they open Autocad, DLL will be automatically loaded and they can use customize command. I have read an article 'Distribute Your Application' in AutoCAD .NET Developers Guide but did not understand correctly how can make the demand load of an application. Please help me in this regard.

 

Regards

Zakir

 

 

5 REPLIES 5
Message 2 of 6
RPeter
in reply to: mzakiralam

Hi,

 

You can merge them in their registry, its well written here:

http://through-the-interface.typepad.com/through_the_interface/2006/09/automatic_loadi.html

 

Or some oldschool Lisp:

(if (findfile "mydll.dll")
  (progn
    (princ "mydll.dll loaded.\n")
    (command "._NETLOAD" "mydll.dll"))
  (princ "mydll.dll NOT found!\n"))

 

Message 3 of 6
mzakiralam
in reply to: RPeter

Thanks for your response and link

Message 4 of 6
StephenPreston
in reply to: mzakiralam

If you're using AutoCAD 2012 or later, then the Autoloader is designed for this. Search for 'autoloader' on Kean Walmsley's Through the Interface' blog (http://through-the-interface.typepad.com/through_the_interface/), or on the ADN DevBlog (http://adndevblog.typepad.com/autocad), and read the information about it on www.autodesk.com/developapps.

 

Cheers,

 

Stephen

Cheers,

Stephen Preston
Autodesk Developer Network
Message 5 of 6

Hi Stephen,

 

I thought I always messed up links but you were 3/3 on messing up links.  None of them seem to work!

Message 6 of 6
mzakiralam
in reply to: StephenPreston

@StephenPreston: I found out autoloading topic from Kean Walmsley's Through the Interface' blog. Thanks for the hints, It seems very useful and solve my problem.

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