<?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: Use C++ dll in ARX in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12002801#M1725</link>
    <description>&lt;P&gt;you can try adding the path to the DLL to "PATH" environment&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 01:14:12 GMT</pubDate>
    <dc:creator>daniel_cadext</dc:creator>
    <dc:date>2023-06-01T01:14:12Z</dc:date>
    <item>
      <title>Use C++ dll in ARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12002639#M1724</link>
      <description>&lt;P&gt;I am stuck and need some help. I create a windows dll project with an exported method. Method does nothing but simply returns an int. Now when I create a ARX project and add this dll's path to the ARX's library directories, everything compiles great. However, when I load the ARX in AutoCAD, I get the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;c:\users\rakusiri\source\repos\arxproject1\x64\release\adskarxproject1.arx cannot find a procedure that it needs.
AcRxDynamicLinker failed to load 'c:\users\rakusiri\source\repos\arxproject1\x64\release\adskarxproject1.arx'
c:\users\rakusiri\source\repos\arxproject1\x64\release\adskarxproject1.arxUnable to load ADSKArxProject1.arx file.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have spend 2 days but can't get it to work. Can anyone please guide me. I am attaching&amp;nbsp; the project and the ARX and DLL therein.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 03:49:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12002639#M1724</guid>
      <dc:creator>Rakusiri</dc:creator>
      <dc:date>2023-06-01T03:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use C++ dll in ARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12002801#M1725</link>
      <description>&lt;P&gt;you can try adding the path to the DLL to "PATH" environment&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 01:14:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12002801#M1725</guid>
      <dc:creator>daniel_cadext</dc:creator>
      <dc:date>2023-06-01T01:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Use C++ dll in ARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12004170#M1726</link>
      <description>&lt;P&gt;&lt;A href="http://otb.manusoft.com/2013/01/using-delayload-to-specify-dependent-dll-path.htm" target="_blank"&gt;http://otb.manusoft.com/2013/01/using-delayload-to-specify-dependent-dll-path.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://adndevblog.typepad.com/autocad/2013/01/avoid-module-loading-issues-with-dbx-enablers.html" target="_blank"&gt;https://adndevblog.typepad.com/autocad/2013/01/avoid-module-loading-issues-with-dbx-enablers.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope your dll-file was compiled and linked with the same options as main arx-file.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 12:33:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12004170#M1726</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2023-06-01T12:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Use C++ dll in ARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12007534#M1727</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8575899"&gt;@daniel_cadext&lt;/a&gt;. That did the trick.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:46:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12007534#M1727</guid>
      <dc:creator>Rakusiri</dc:creator>
      <dc:date>2023-06-02T15:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use C++ dll in ARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12007540#M1728</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/481027"&gt;@Alexander.Rivilis&lt;/a&gt;&amp;nbsp;I was making a static dll and that was causing the issue. Per your comment I matched the configuration to ARX project and then applied&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8575899"&gt;@daniel_cadext&lt;/a&gt;&amp;nbsp;'s approach. That fixed everything. Thank you both.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:48:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/use-c-dll-in-arx/m-p/12007540#M1728</guid>
      <dc:creator>Rakusiri</dc:creator>
      <dc:date>2023-06-02T15:48:38Z</dc:date>
    </item>
  </channel>
</rss>

