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.
You can merge them in their registry, its well written here:
Or some oldschool Lisp:
(if (findfile "mydll.dll") (progn (princ "mydll.dll loaded.\n") (command "._NETLOAD" "mydll.dll")) (princ "mydll.dll NOT found!\n"))
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_t
Autodesk Developer Network
@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.