• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Active Contributor
    Posts: 48
    Registered: ‎11-09-2012

    Distribute my Application

    200 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

     

     

    Please use plain text.
    Valued Contributor
    Posts: 61
    Registered: ‎01-09-2009

    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"))

     

    Please use plain text.
    Active Contributor
    Posts: 48
    Registered: ‎11-09-2012

    Re: Distribute my Application

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

    Thanks for your response and link

    Please use plain text.
    ADN Support Specialist
    Posts: 261
    Registered: ‎05-22-2006

    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
    Please use plain text.
    *Expert Elite*
    Keith.Brown
    Posts: 753
    Registered: ‎03-13-2008

    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
    Please use plain text.
    Active Contributor
    Posts: 48
    Registered: ‎11-09-2012

    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.

    Please use plain text.