.NET

Reply
Mentor
mzakiralam
Posts: 231
Registered: ‎11-09-2012
Message 1 of 6 (296 Views)

Distribute my Application

296 Views, 5 Replies
02-28-2013 07:34 AM

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

 

 

Valued Contributor
RPeter
Posts: 91
Registered: ‎01-09-2009
Message 2 of 6 (284 Views)

Re: Distribute my Application

02-28-2013 08:18 AM 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"))

 

Mentor
mzakiralam
Posts: 231
Registered: ‎11-09-2012
Message 3 of 6 (280 Views)

Re: Distribute my Application

02-28-2013 08:28 AM in reply to: RPeter

Thanks for your response and link

ADN Support Specialist
StephenPreston
Posts: 422
Registered: ‎05-22-2006
Message 4 of 6 (269 Views)

Re: Distribute my Application

02-28-2013 09:48 AM 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
*Expert Elite*
Keith.Brown
Posts: 1,236
Registered: ‎03-13-2008
Message 5 of 6 (263 Views)

Re: Distribute my Application

02-28-2013 10:08 AM in reply to: StephenPreston

Hi Stephen,

 

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


Keith Brown AutoCAD MEP BLOG | RSS Feed
AutoCAD MEP 2014 | Revit 2014 | EastCoast CAD/CAM V6.1 | Visual Studio 2013
────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate. Thank you!
Mentor
mzakiralam
Posts: 231
Registered: ‎11-09-2012
Message 6 of 6 (210 Views)

Re: Distribute my Application

03-04-2013 01:56 AM 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.