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
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
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"))
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"))
Thanks for your response and link
Thanks for your response and link
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
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
Hi Stephen,
I thought I always messed up links but you were 3/3 on messing up links. None of them seem to work!
Hi Stephen,
I thought I always messed up links but you were 3/3 on messing up links. None of them seem to work!
@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.
@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.