<?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 Autoload DLL from Application registry entry and 2015 in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/autoload-dll-from-application-registry-entry-and-2015/m-p/5027630#M44018</link>
    <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;don't know if someone is still using the old autoloader feature that we used before the new .bundle feature was introduced, but I'll give it a try...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm porting some apps to 2015 and since these apps were been using the old autoloader feature since 2009, I just continued to use the same technic.&lt;/P&gt;&lt;P&gt;During the porting I debugged and tested the apps using VS2013 and everithing went smooth, nothing special indeed, but when I tried to load the apps in a testing machine, I encountered a problem: the DLL seems to load without problem, but it stops immediately because it cannot load some third-pard DLL that are placed in the same folder.&lt;/P&gt;&lt;P&gt;This problem only shows in production machine, while the debug went without problem, even if also during debug, the third-part controls are copied in the debug directory that's well outside usual AutoCAD folders domain.&lt;/P&gt;&lt;P&gt;The difference is that during debug I use a small script and the DLL is loaded via NETLOAD, in production the DLL is loaded automatically by AutoCAD based on the Application registry hive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SECURELOAD var is set to 0, so it shouldn't be that problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could prevent the load of other DLLs from the same folder of the plugin? (but not during debug)&lt;/P&gt;&lt;P&gt;Has something changed in the autoloader mechanism? Should I declare those DLLs somewhere with the plugin loader?&lt;/P&gt;</description>
    <pubDate>Tue, 13 May 2014 07:53:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-13T07:53:30Z</dc:date>
    <item>
      <title>Autoload DLL from Application registry entry and 2015</title>
      <link>https://forums.autodesk.com/t5/net-forum/autoload-dll-from-application-registry-entry-and-2015/m-p/5027630#M44018</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;don't know if someone is still using the old autoloader feature that we used before the new .bundle feature was introduced, but I'll give it a try...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm porting some apps to 2015 and since these apps were been using the old autoloader feature since 2009, I just continued to use the same technic.&lt;/P&gt;&lt;P&gt;During the porting I debugged and tested the apps using VS2013 and everithing went smooth, nothing special indeed, but when I tried to load the apps in a testing machine, I encountered a problem: the DLL seems to load without problem, but it stops immediately because it cannot load some third-pard DLL that are placed in the same folder.&lt;/P&gt;&lt;P&gt;This problem only shows in production machine, while the debug went without problem, even if also during debug, the third-part controls are copied in the debug directory that's well outside usual AutoCAD folders domain.&lt;/P&gt;&lt;P&gt;The difference is that during debug I use a small script and the DLL is loaded via NETLOAD, in production the DLL is loaded automatically by AutoCAD based on the Application registry hive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SECURELOAD var is set to 0, so it shouldn't be that problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could prevent the load of other DLLs from the same folder of the plugin? (but not during debug)&lt;/P&gt;&lt;P&gt;Has something changed in the autoloader mechanism? Should I declare those DLLs somewhere with the plugin loader?&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 07:53:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autoload-dll-from-application-registry-entry-and-2015/m-p/5027630#M44018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T07:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Autoload DLL from Application registry entry and 2015</title>
      <link>https://forums.autodesk.com/t5/net-forum/autoload-dll-from-application-registry-entry-and-2015/m-p/5030804#M44019</link>
      <description>A short note: now it seems to work. It was a problem of project configuration: a couple if C++ DLLs kept compiling in win32 even in x64 target platform.&lt;BR /&gt;Since I use a 32bit machine for debugging it always worked, but production machines were x64 so they failed to load.&lt;BR /&gt;&lt;BR /&gt;Thank you for your time</description>
      <pubDate>Wed, 14 May 2014 13:00:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autoload-dll-from-application-registry-entry-and-2015/m-p/5030804#M44019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-14T13:00:43Z</dc:date>
    </item>
  </channel>
</rss>

