<?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: Runtime Error Calling managed ARX VS2002 DLL from VS2005 in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665418#M23452</link>
    <description>Ooops!&lt;BR /&gt;
Wrong post in the wrong place!</description>
    <pubDate>Thu, 08 Jun 2006 13:37:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-06-08T13:37:40Z</dc:date>
    <item>
      <title>Runtime Error Calling managed ARX VS2002 DLL from VS2005</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665413#M23447</link>
      <description>Hello guys,&lt;BR /&gt;
I wrote a Managed Arx DLL to be called by a C# DLL. I "netload" the C# DLL in AutoCAD and then call the ARX dll at a button click event. The whole thing works very well when it is run on a system where VS 2002 is installed. However on systems that don’t have VS 2002 installed I get a runtime error at the button click event, "DLL not found". &lt;BR /&gt;
Are Managed VS2002 ARX DLLs not compatible with framework 2.0? Or am I making some other mistake? How can I resolve this issue? Can somebody help?&lt;BR /&gt;
Thanks in advance.</description>
      <pubDate>Tue, 06 Jun 2006 06:32:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665413#M23447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-06T06:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error Calling managed ARX VS2002 DLL from VS2005</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665414#M23448</link>
      <description>I think there won't be any binary compatibility between previous versions of Dlls/Arxs. Arx apps developed on VS 2002 won't be compatble with AutoCAD 2007</description>
      <pubDate>Tue, 06 Jun 2006 08:01:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665414#M23448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-06T08:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error Calling managed ARX VS2002 DLL from VS2005</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665415#M23449</link>
      <description>Yes, ARX applications for 2006 are not binary compatible with 2007, but that’s not the issue here.&lt;BR /&gt;
I am writing ARX application using ObjectARX 2006 for AutoCAD 2006. Only the front end of the application is being written in VS 2005. I am facing this problem when I try to call a managed ARX DLL from VS 2005.</description>
      <pubDate>Tue, 06 Jun 2006 08:17:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665415#M23449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-06T08:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error Calling managed ARX VS2002 DLL from VS2005</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665416#M23450</link>
      <description>&amp;gt;&amp;gt; Are Managed VS2002 ARX DLLs not compatible with framework 2.0?&lt;BR /&gt;
&lt;BR /&gt;
If a managed DLL is compiled to use framework 1.0 (or 1.1),&lt;BR /&gt;
that version of the framework must be installed on the target &lt;BR /&gt;
system.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007&lt;BR /&gt;
http://www.acadxtabs.com</description>
      <pubDate>Tue, 06 Jun 2006 13:06:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665416#M23450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-06T13:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error Calling managed ARX VS2002 DLL from VS2005</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665417#M23451</link>
      <description>I tried something like this:&lt;BR /&gt;
&lt;BR /&gt;
#include &lt;WINDOWS.H&gt;&lt;BR /&gt;
#include &lt;IOSTREAM&gt;&lt;BR /&gt;
#include &lt;IOMANIP&gt;&lt;BR /&gt;
#include &lt;FSTREAM&gt;&lt;BR /&gt;
&lt;BR /&gt;
using namespace std;&lt;BR /&gt;
&lt;BR /&gt;
int main(int argc, char* argv[])&lt;BR /&gt;
{&lt;BR /&gt;
&lt;BR /&gt;
typedef UINT (CALLBACK* LURKING_DLL_FUNC1)(INT,INT);&lt;BR /&gt;
        typedef UINT (CALLBACK* LURKING_DLL_FUNC2)(INT); &lt;BR /&gt;
        HINSTANCE hDLL; // Handle to DLL &lt;BR /&gt;
        LURKING_DLL_FUNC1 Output; // Function pointer &lt;BR /&gt;
        LURKING_DLL_FUNC2 Input; // Function pointer &lt;BR /&gt;
        &lt;BR /&gt;
        hDLL = LoadLibrary("Inpout32"); &lt;BR /&gt;
        if (hDLL != NULL)&lt;BR /&gt;
        { &lt;BR /&gt;
          Output = (LURKING_DLL_FUNC1)GetProcAddress(hDLL,"Out32"); &lt;BR /&gt;
          Input = (LURKING_DLL_FUNC2)GetProcAddress(hDLL,"Inp32"); &lt;BR /&gt;
          if (!Output || !Input) &lt;BR /&gt;
          { &lt;BR /&gt;
            // handle the error &lt;BR /&gt;
			  FreeLibrary(hDLL);&lt;BR /&gt;
			  cout&amp;lt;&amp;lt;"\n"&amp;lt;&amp;lt;"error loading dll"&amp;lt;&amp;lt;"\n"; &lt;BR /&gt;
          } &lt;BR /&gt;
        } &lt;BR /&gt;
        &lt;BR /&gt;
        &lt;BR /&gt;
  Output(0x37a,32);&lt;BR /&gt;
&lt;BR /&gt;
  ofstream SaveFile("Time.txt");&lt;BR /&gt;
  SYSTEMTIME st;&lt;BR /&gt;
  for(int i=0;i&amp;lt;500000;i++)&lt;BR /&gt;
  {&lt;BR /&gt;
    ::GetSystemTime(&amp;amp;st);&lt;BR /&gt;
    SaveFile &amp;lt;&amp;lt; std::setw(2) &amp;lt;&amp;lt; st.wHour &amp;lt;&amp;lt; ':'&lt;BR /&gt;
              &amp;lt;&amp;lt; std::setw(2) &amp;lt;&amp;lt; st.wMinute &amp;lt;&amp;lt; ':'&lt;BR /&gt;
              &amp;lt;&amp;lt; std::setw(2) &amp;lt;&amp;lt; st.wSecond &amp;lt;&amp;lt; '.'&lt;BR /&gt;
              &amp;lt;&amp;lt; std::setw(3) &amp;lt;&amp;lt; st.wMilliseconds&amp;lt;&amp;lt; ' ' &lt;BR /&gt;
              &amp;lt;&amp;lt; (Input)(DATA)&amp;lt;&amp;lt; '\n';&lt;BR /&gt;
  }&lt;BR /&gt;
  SaveFile.close();&lt;BR /&gt;
&lt;BR /&gt;
  return 0;&lt;BR /&gt;
}&lt;/FSTREAM&gt;&lt;/IOMANIP&gt;&lt;/IOSTREAM&gt;&lt;/WINDOWS.H&gt;</description>
      <pubDate>Thu, 08 Jun 2006 13:37:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665417#M23451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-08T13:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error Calling managed ARX VS2002 DLL from VS2005</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665418#M23452</link>
      <description>Ooops!&lt;BR /&gt;
Wrong post in the wrong place!</description>
      <pubDate>Thu, 08 Jun 2006 13:37:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/runtime-error-calling-managed-arx-vs2002-dll-from-vs2005/m-p/1665418#M23452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-08T13:37:40Z</dc:date>
    </item>
  </channel>
</rss>

