<?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: installing a NET interCOM dll in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435207#M83799</link>
    <description>just reading&lt;BR /&gt;
anyway, this seem to solve some problems&lt;BR /&gt;
&lt; classinterface=""&gt;&lt;BR /&gt;
but not all of them&lt;/&gt;</description>
    <pubDate>Sat, 17 Sep 2005 18:24:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-09-17T18:24:38Z</dc:date>
    <item>
      <title>installing a NET interCOM dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435205#M83797</link>
      <description>i have developped an acad application, it has some dll's called from a vba macro of autocad, i have no problems to call the vb6 dlls, but im having lot of problems to call a net dll&lt;BR /&gt;
&lt;BR /&gt;
if i compile the net dll with VS2003 and chek 'register for com interoperability' there is no problem&lt;BR /&gt;
i can call the dll from the autocad vba macro on this way&lt;BR /&gt;
&lt;BR /&gt;
    Set VB6DLLG = ThisDrawing.Application.GetInterfaceObject("ClassLibraryG.ComClassG")&lt;BR /&gt;
    VB6DLLG.Main&lt;BR /&gt;
&lt;BR /&gt;
VS2003 register the assembly as private, and it appears on C:\WINDOWS\assembly\download as private, with no key or strongname&lt;BR /&gt;
&lt;BR /&gt;
but now i want to test the installer, so i unchek 'register for com interoperability' on VS2003 and compile&lt;BR /&gt;
then i run %windir%\Microsoft.NET\Framework\v1.1.4322\regasm.exe /codebase /tlb "C:\Program Files\programa\ClassLibraryG.dll"&lt;BR /&gt;
and create the tlb library for COM, but then i cant call the classes, it gimme error -2147024894 (80070002) in the autocad vba macro&lt;BR /&gt;
the error is the same if i add a reference to tlb library in the VBA IDE of autocad&lt;BR /&gt;
&lt;BR /&gt;
the vba, dll and tlb are on the same directory C:\Program Files\programa\&lt;BR /&gt;
&lt;BR /&gt;
so i really dont know where is the problem, anybody knows?&lt;BR /&gt;
thanks in advance</description>
      <pubDate>Sat, 17 Sep 2005 13:56:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435205#M83797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-17T13:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: installing a NET interCOM dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435206#M83798</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;Take a look at some &lt;FONT face="Verdana"&gt;&lt;BR /&gt;
size=2&amp;gt;useful links on exposing COM Interfaces of .NET classes:&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;- &lt;A&gt;&lt;BR /&gt;
href="http://www.codeproject.com/vb/net/MusaExposingCOM.asp"&amp;gt;http://www.codeproject.com/vb/net/MusaExposingCOM.asp&lt;/A&gt;&amp;nbsp;(VB.NET, &lt;BR /&gt;
early and late binding)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;- &lt;A&gt;&lt;BR /&gt;
href="http://www.codeproject.com/dotnet/COM_DOTNET_INTEROP.asp"&amp;gt;http://www.codeproject.com/dotnet/COM_DOTNET_INTEROP.asp&lt;/A&gt;&amp;nbsp;(COM &lt;BR /&gt;
Interop, explained)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;- &lt;A&gt;&lt;BR /&gt;
href="http://www.codeproject.com/dotnet/cominterop.asp"&amp;gt;http://www.codeproject.com/dotnet/cominterop.asp&lt;/A&gt;&amp;nbsp;(C#, &lt;BR /&gt;
see Part II)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;- &lt;A&gt;&lt;BR /&gt;
href="http://www.codeproject.com/csharp/CSComTemplate.asp"&amp;gt;http://www.codeproject.com/csharp/CSComTemplate.asp&lt;/A&gt;&amp;nbsp;(COM &lt;BR /&gt;
Class wizard in C#)&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;Maksim Sestic&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&amp;lt;inner&amp;gt; wrote in message &lt;/FONT&gt;&lt;A&gt;&lt;BR /&gt;
href="news:4959541@discussion.autodesk.com"&amp;gt;&lt;FONT face="Verdana"&gt;&lt;BR /&gt;
size=2&amp;gt;news:4959541@discussion.autodesk.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="Verdana"&gt;&lt;BR /&gt;
size=2&amp;gt;...&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT face="Verdana" size="2"&gt;i have developped an acad &lt;BR /&gt;
application, it has some dll's called from a vba macro of autocad, i have no &lt;BR /&gt;
problems to call the vb6 dlls, but im having lot of problems to call a net &lt;BR /&gt;
dll&lt;BR /&gt;&lt;BR /&gt;if i compile the net dll with VS2003 and chek 'register for com &lt;BR /&gt;
interoperability' there is no problem&lt;BR /&gt;i can call the dll from the autocad vba &lt;BR /&gt;
macro on this way&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set VB6DLLG = &lt;BR /&gt;
ThisDrawing.Application.GetInterfaceObject("ClassLibraryG.ComClassG")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
VB6DLLG.Main&lt;BR /&gt;&lt;BR /&gt;VS2003 register the assembly as private, and it appears on &lt;BR /&gt;
C:\WINDOWS\assembly\download as private, with no key or strongname&lt;BR /&gt;&lt;BR /&gt;but &lt;BR /&gt;
now i want to test the installer, so i unchek 'register for com &lt;BR /&gt;
interoperability' on VS2003 and compile&lt;BR /&gt;then i run &lt;BR /&gt;
%windir%\Microsoft.NET\Framework\v1.1.4322\regasm.exe /codebase /tlb "C:\Program &lt;BR /&gt;
Files\programa\ClassLibraryG.dll"&lt;BR /&gt;and create the tlb library for COM, but &lt;BR /&gt;
then i cant call the classes, it gimme error -2147024894 (80070002) in the &lt;BR /&gt;
autocad vba macro&lt;BR /&gt;the error is the same if i add a reference to tlb library &lt;BR /&gt;
in the VBA IDE of autocad&lt;BR /&gt;&lt;BR /&gt;the vba, dll and tlb are on the same directory &lt;BR /&gt;
C:\Program Files\programa\&lt;BR /&gt;&lt;BR /&gt;so i really dont know where is the problem, &lt;BR /&gt;
anybody knows?&lt;BR /&gt;thanks in advance&lt;/FONT&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Sep 2005 16:46:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435206#M83798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-17T16:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: installing a NET interCOM dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435207#M83799</link>
      <description>just reading&lt;BR /&gt;
anyway, this seem to solve some problems&lt;BR /&gt;
&lt; classinterface=""&gt;&lt;BR /&gt;
but not all of them&lt;/&gt;</description>
      <pubDate>Sat, 17 Sep 2005 18:24:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435207#M83799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-17T18:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: installing a NET interCOM dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435208#M83800</link>
      <description>wop, i mean this&lt;BR /&gt;
Assembly: ClassInterface(ClassInterfaceType.AutoDual)</description>
      <pubDate>Sat, 17 Sep 2005 18:26:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435208#M83800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-17T18:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: installing a NET interCOM dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435209#M83801</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;While &lt;BR /&gt;
implementing&amp;nbsp;ClassInterfaceType.AutoDual be aware of the &lt;BR /&gt;
following:&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;- &lt;A&gt;&lt;BR /&gt;
href="http://www.dotnet247.com/247reference/msgs/46/230126.aspx"&amp;gt;http://www.dotnet247.com/247reference/msgs/46/230126.aspx&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;(ClassInterfaceType.AutoDual vs. &lt;BR /&gt;
ClassInterfaceType.AutoDispatch)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Maksim Sestic&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&amp;lt;inner&amp;gt; wrote in message &lt;/FONT&gt;&lt;A&gt;&lt;BR /&gt;
href="news:4959622@discussion.autodesk.com"&amp;gt;&lt;FONT face="Verdana"&gt;&lt;BR /&gt;
size=2&amp;gt;news:4959622@discussion.autodesk.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="Verdana"&gt;&lt;BR /&gt;
size=2&amp;gt;...&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT face="Verdana" size="2"&gt;wop, i mean this&lt;BR /&gt;Assembly: &lt;BR /&gt;
ClassInterface(ClassInterfaceType.AutoDual)&lt;/FONT&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Sep 2005 09:22:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435209#M83801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-19T09:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: installing a NET interCOM dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435210#M83802</link>
      <description>ok, im reading this about the question, still learning NET&lt;BR /&gt;
&lt;BR /&gt;
there are some pretty details, for example, i can use a unique dll for all acad 16 versions (2004,2005 and 2006)&lt;BR /&gt;
NET loads Autodesk.AutoCAD.Interop.dll and Autodesk.AutoCAD.Interop.Common.dll&lt;BR /&gt;
from the instalation folder and use them in all versions&lt;BR /&gt;
thats great</description>
      <pubDate>Mon, 19 Sep 2005 22:06:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/installing-a-net-intercom-dll/m-p/1435210#M83802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-19T22:06:37Z</dc:date>
    </item>
  </channel>
</rss>

