<?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: Working with AutoCAD 64 bits in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353440#M73230</link>
    <description>Hi Terry, &lt;BR /&gt;
Thanks for your answer, eventually I will find the way to go pure .Net (no COM involved) in the meantime, do you know the best  way to get the current runtime AutoCAD application object without using com interop?.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Raul</description>
    <pubDate>Thu, 02 Oct 2008 15:15:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-10-02T15:15:10Z</dc:date>
    <item>
      <title>Working with AutoCAD 64 bits</title>
      <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353437#M73227</link>
      <description>Hi My 32 bits .net application works on 32 bits machines but is crashes on 64 bits ones with the following error&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Autodesk.AutoCAD.Interop.AcadApplication'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{8F17437C-2EFB-4FC4-8188-EEFA50FE7147}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;
It looks like it stops when trying to execute the following statement&lt;BR /&gt;
&lt;BR /&gt;
Dim AcadApp As Autodesk.AutoCAD.Interop.AcadApplication = CType(Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication, Autodesk.AutoCAD.Interop.AcadApplication) &lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Any help I will appreciate Raul</description>
      <pubDate>Wed, 01 Oct 2008 19:59:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353437#M73227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-01T19:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Working with AutoCAD 64 bits</title>
      <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353438#M73228</link>
      <description>rtejada@pancanal.com wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Hi My 32 bits .net application works on 32 bits machines but is &lt;BR /&gt;
&amp;gt; crashes on 64 bits ones with the following error&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; System.Reflection.TargetInvocationException: Exception has been &lt;BR /&gt;
&amp;gt; thrown by the target of an invocation. ---&amp;gt; &lt;BR /&gt;
&amp;gt; System.InvalidCastException: Unable to cast COM object of type &lt;BR /&gt;
&amp;gt; 'System.__ComObject' to interface type &lt;BR /&gt;
&amp;gt; 'Autodesk.AutoCAD.Interop.AcadApplication'.&lt;BR /&gt;
&lt;BR /&gt;
First keep in mind I'm no expert, but I tried this also.  When your&lt;BR /&gt;
assembly is built with an early bind to a 32bit AutoCAD COM it won't&lt;BR /&gt;
run in 64bit.  I 'suppose' you could change the COM link to a 64bit&lt;BR /&gt;
AutoCAD COM and prepare a separate 64bit build.&lt;BR /&gt;
&lt;BR /&gt;
In my opinion your better off porting all your COM/ActiveX code to pure&lt;BR /&gt;
.NET and use the AnyCPU compile option.  Then use 'late bound' COM only&lt;BR /&gt;
for the rare instance that it cannot be done in .NET.&lt;BR /&gt;
&lt;BR /&gt;
My ports are 99.9% pure .NET as of right now and a single build loads&lt;BR /&gt;
and runs fine in AutoCAD 2007 or higher, 32 or 64bit.&lt;BR /&gt;
&lt;BR /&gt;
Good Luck, Terry</description>
      <pubDate>Wed, 01 Oct 2008 22:55:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353438#M73228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-01T22:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Working with AutoCAD 64 bits</title>
      <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353439#M73229</link>
      <description>Hi Terry, &lt;BR /&gt;
Thanks for your answer, eventually I will find the way to go pure .Net (no COM involved) in the meantime, do you know the best  way to get the current runtime AutoCAD application object without using com interop?.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Raul</description>
      <pubDate>Thu, 02 Oct 2008 15:15:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353439#M73229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-02T15:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Working with AutoCAD 64 bits</title>
      <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353440#M73230</link>
      <description>Hi Terry, &lt;BR /&gt;
Thanks for your answer, eventually I will find the way to go pure .Net (no COM involved) in the meantime, do you know the best  way to get the current runtime AutoCAD application object without using com interop?.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Raul</description>
      <pubDate>Thu, 02 Oct 2008 15:15:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353440#M73230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-02T15:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Working with AutoCAD 64 bits</title>
      <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353441#M73231</link>
      <description>Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication&lt;BR /&gt;
&lt;BR /&gt;
You can use late binding to invoke methods on the AcadApplication without having to reference the COM type libraries.&lt;BR /&gt;
&lt;BR /&gt;
for example:&lt;BR /&gt;
&lt;BR /&gt;
  object oApp = Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication;&lt;BR /&gt;
&lt;BR /&gt;
  // Call the Quit() method of the AcadApplication object:&lt;BR /&gt;
&lt;BR /&gt;
  oApp.GetType().InvokeMember("QUIT", BindingFlags.InvokeMethod, null, oApp, null);&lt;BR /&gt;
&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 2009&lt;BR /&gt;
Supporting AutoCAD 2000 through 2009&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Introducing AcadXTabs 2010:&lt;BR /&gt;
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;BR /&gt;
&lt;BR /&gt;
&lt;RTEJADA&gt; wrote in message news:6043527@discussion.autodesk.com...&lt;BR /&gt;
Hi Terry, &lt;BR /&gt;
Thanks for your answer, eventually I will find the way to go pure .Net (no COM involved) in the meantime, do you know the best way to get the current runtime AutoCAD application object without using com interop?.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Raul&lt;/RTEJADA&gt;</description>
      <pubDate>Thu, 02 Oct 2008 16:55:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353441#M73231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-02T16:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Working with AutoCAD 64 bits</title>
      <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353442#M73232</link>
      <description>Thanks Tony for the late binding example. It will do it.</description>
      <pubDate>Thu, 02 Oct 2008 17:21:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353442#M73232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-02T17:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Working with AutoCAD 64 bits</title>
      <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353443#M73233</link>
      <description>I get the same message as below and as the attached file. Several users here have the same problem. We are using hp Z600 Xenon Quad core with 6GB ram &amp;amp; .5Terra Hdd's &amp;amp; 750 MB Nvidea FX1800 Video cards on Windows XP x64 Operating System&lt;BR /&gt;
&lt;BR /&gt;
I was told by a reseller that this function has been disabled in Civil 3D and wanted £800 to try &amp;amp; fix it. (.NET software have all been deleted and reloaded from Microsoft website)&lt;BR /&gt;
&lt;BR /&gt;
This operation failed because the QueryInterface call on the COM component for the interface with IID '{8F17437C-2EFB-4FC4-8188-EEFA50FE7147}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)&lt;BR /&gt;
&lt;BR /&gt;
This error is reportwed when in the CUI interface and trying to drag &amp;amp; drop other icons into  other icon groups. I do not use Ribbon as I do not like it and neither do most of the other users in this company. Classic sytle is best for our use.&lt;BR /&gt;
&lt;BR /&gt;
I manage 500 cad users here with over £500,000 outlay to Autodesk. I would like a free fix please.  I can do anything in Civil 3D 2009 without error messages.&lt;BR /&gt;
&lt;BR /&gt;
Come on Autodesk what is the problem? Or is it just a way for resellers to make some extra cash?</description>
      <pubDate>Wed, 20 Jan 2010 16:34:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353443#M73233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-20T16:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Working with AutoCAD 64 bits</title>
      <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353444#M73234</link>
      <description>Whatever reseller told you that is trying to rob you.&lt;BR /&gt;
&lt;BR /&gt;
This is a bug, plain and simple, and any reseller that tries to sell&lt;BR /&gt;
you a 'fix' for a bug should be reported to Autodesk.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;REBENNETT&gt; wrote in message news:6321611@discussion.autodesk.com...&lt;BR /&gt;
I get the same message as below and as the attached file. Several users here &lt;BR /&gt;
have the same problem. We are using hp Z600 Xenon Quad core with 6GB ram &amp;amp; &lt;BR /&gt;
.5Terra Hdd's &amp;amp; 750 MB Nvidea FX1800 Video cards on Windows XP x64 Operating &lt;BR /&gt;
System&lt;BR /&gt;
&lt;BR /&gt;
I was told by a reseller that this function has been disabled in Civil 3D and &lt;BR /&gt;
wanted £800 to try &amp;amp; fix it. (.NET software have all been deleted and reloaded &lt;BR /&gt;
from Microsoft website)&lt;BR /&gt;
&lt;BR /&gt;
This operation failed because the QueryInterface call on the COM component for &lt;BR /&gt;
the interface with IID '{8F17437C-2EFB-4FC4-8188-EEFA50FE7147}' failed due to &lt;BR /&gt;
the following error: No such interface supported (Exception from HRESULT: &lt;BR /&gt;
0x80004002 (E_NOINTERFACE)&lt;BR /&gt;
&lt;BR /&gt;
This error is reportwed when in the CUI interface and trying to drag &amp;amp; drop &lt;BR /&gt;
other icons into  other icon groups. I do not use Ribbon as I do not like it and &lt;BR /&gt;
neither do most of the other users in this company. Classic sytle is best for &lt;BR /&gt;
our use.&lt;BR /&gt;
&lt;BR /&gt;
I manage 500 cad users here with over £500,000 outlay to Autodesk. I would like &lt;BR /&gt;
a free fix please.  I can do anything in Civil 3D 2009 without error messages.&lt;BR /&gt;
&lt;BR /&gt;
Come on Autodesk what is the problem? Or is it just a way for resellers to make &lt;BR /&gt;
some extra cash?&lt;/REBENNETT&gt;</description>
      <pubDate>Thu, 21 Jan 2010 00:08:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/2353444#M73234</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-21T00:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Working with AutoCAD 64 bits</title>
      <link>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/3140990#M73235</link>
      <description>Hello, I'm having the same issue when I try to drag and drop a command from the command list into the shortcut keys palette. I'm using AutoCAD 2008 64bit. Any help would be appreciated.</description>
      <pubDate>Tue, 30 Aug 2011 15:05:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/working-with-autocad-64-bits/m-p/3140990#M73235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T15:05:34Z</dc:date>
    </item>
  </channel>
</rss>

