<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calling a DLL from AutoLisp in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7545068#M112079</link>
    <description>&lt;P&gt;What is the macro syntax behind the button in your toolbar/ribbon?&lt;/P&gt;&lt;P&gt;You can check this in the CUI and see how the command is run by pressing the button.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2017 07:13:50 GMT</pubDate>
    <dc:creator>DannyNL</dc:creator>
    <dc:date>2017-11-15T07:13:50Z</dc:date>
    <item>
      <title>Calling a DLL from AutoLisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7544234#M112078</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im trying to Call a DLL from autolisp. The DLL is supposed to draw some plines. The program works if it is called from the toolbar. But If I try to define a function with a&amp;nbsp;3 letter command to run it. It runs and asks for the selection sets but does not draw anything. all the&amp;nbsp; windows pop up as expected and the program finishes with no apparent errors. I know I could take an easy way out and just name my&amp;nbsp;dll the two letter command but I'm curious as to why this doesn't work. I call other dll's from the S::startup&amp;nbsp; and they work fine but none of them are required to draw anything. Can anyone shed some light on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 21:54:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7544234#M112078</guid>
      <dc:creator>GeeHaa</dc:creator>
      <dc:date>2017-11-14T21:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL from AutoLisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7545068#M112079</link>
      <description>&lt;P&gt;What is the macro syntax behind the button in your toolbar/ribbon?&lt;/P&gt;&lt;P&gt;You can check this in the CUI and see how the command is run by pressing the button.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 07:13:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7545068#M112079</guid>
      <dc:creator>DannyNL</dc:creator>
      <dc:date>2017-11-15T07:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL from AutoLisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7545837#M112080</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the Syntax from the CUI&lt;/P&gt;
&lt;P&gt;&amp;nbsp;^C^C(Command "NetLoad"(STRCAT(GETENV "ProgramData")"/Autodesk/ApplicationPlugins/TBars.Bundle/Contents/DotNet/DLINE.dll" ));DLine;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The program to create the Shortcut Looks Like this.&lt;/P&gt;
&lt;PRE&gt;(defun c:DL ()
(Command "NetLoad"(STRCAT(GETENV "ProgramData")"/Autodesk/ApplicationPlugins/TBars.Bundle/Contents/DotNet/DLINE.dll" ))
(command "DLINE")&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;Note for Others: When NetLoading DLLs like this It doesn't like spaces in the program Name&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Nov 2017 12:36:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7545837#M112080</guid>
      <dc:creator>GeeHaa</dc:creator>
      <dc:date>2017-11-15T12:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL from AutoLisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7546082#M112081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's something I do not understand: why do you need to NETLOAD a DLL from a bundle folder?&lt;/P&gt;
&lt;P&gt;Won't it be automatically loaded according to the PackageContents.xml LoadReasons (LoadOnAutoCADStartup="True")? If so, the commands defined in the DLL can be used as native commands in the whole AutoCAD session.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 13:45:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7546082#M112081</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2017-11-15T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL from AutoLisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7546243#M112082</link>
      <description>&lt;P&gt;I know this is possible. I have other programs being loaded this way along with a CUIX file,But I haven't taken the time to&amp;nbsp;decipher XML plus I don't know where to find a good book on it. It seems every time I mess with PackageContents.XML something goes wrong and it doesn't load. Do you by chance know a good book on the subject that could show me the does and don'ts of the syntax.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your response&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 14:26:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7546243#M112082</guid>
      <dc:creator>GeeHaa</dc:creator>
      <dc:date>2017-11-15T14:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL from AutoLisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7546303#M112083</link>
      <description>&lt;P&gt;You can have a look at the &lt;A href="http://adndevblog.typepad.com/autocad/2013/01/autodesk-autoloader-white-paper.html" target="_blank"&gt;&lt;STRONG&gt;Autodesk Autoloader White Paper&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 14:40:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7546303#M112083</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2017-11-15T14:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL from AutoLisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7546399#M112084</link>
      <description>&lt;P&gt;Thanks Again This should do fine.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:02:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7546399#M112084</guid>
      <dc:creator>GeeHaa</dc:creator>
      <dc:date>2017-11-15T15:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL from AutoLisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7547235#M112085</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/82892"&gt;@GeeHaa&lt;/a&gt;&amp;nbsp;- here's a handy link for general&amp;nbsp;XML (along with XSL, XSD, and a host of other stuff):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.w3schools.com/" target="_blank"&gt;https://www.w3schools.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These days, knowing the basics of XML is pretty much a requirement for anyone dealing with program configuration, data exchange, and programming in general.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 18:58:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7547235#M112085</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2017-11-15T18:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a DLL from AutoLisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7547449#M112086</link>
      <description>&lt;P&gt;This explanation is awesome I thought it was some kind of programming language. Instead its just a way to structure data for a program to read. This explains the syntax and everything. Thank You Very Much!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 20:00:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calling-a-dll-from-autolisp/m-p/7547449#M112086</guid>
      <dc:creator>GeeHaa</dc:creator>
      <dc:date>2017-11-15T20:00:56Z</dc:date>
    </item>
  </channel>
</rss>

