<?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 vla-GetInterfaceObject in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509887#M83088</link>
    <description>I'm trying to call a method in my VS2005 DLL. It was working perfectly fine &lt;BR /&gt;
until I had to format my drive and reinstall AutoCAD and Visual Studio 2005. &lt;BR /&gt;
Nothing inside the code in either my Visual Lisp project or the DLL code.&lt;BR /&gt;
&lt;BR /&gt;
Now, it fails on the vla-GetInterfaceObject call. Is there something I &lt;BR /&gt;
forgot to install? I used to have VS2003 installed alongside VS2005 when &lt;BR /&gt;
everything was working but i didn't bother reinstalling it.&lt;BR /&gt;
&lt;BR /&gt;
Dale&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Lisp code:&lt;BR /&gt;
&lt;BR /&gt;
          ((member m_type bfld_mods)&lt;BR /&gt;
           (vl-load-com)&lt;BR /&gt;
           (setq $acad (vlax-get-acad-object))&lt;BR /&gt;
           (setq vbstrcls (vla-GetInterfaceObject $acad &lt;BR /&gt;
"Elevations.BiFolds"))&lt;BR /&gt;
           (setq out (vlax-invoke-method&lt;BR /&gt;
                         vbstrcls&lt;BR /&gt;
                         "DrawBiFold"&lt;BR /&gt;
                         $acad&lt;BR /&gt;
                         fname&lt;BR /&gt;
                         sc&lt;BR /&gt;
                         (car mod_ins)&lt;BR /&gt;
                         (cadr mod_ins)&lt;BR /&gt;
                         (- unitID 1)&lt;BR /&gt;
                         (gp:list-&amp;gt;variantArray dim_list)&lt;BR /&gt;
                     ) ;_ end of vlax-invoke-method&lt;BR /&gt;
           ) ;_ end of setq&lt;BR /&gt;
           out&lt;BR /&gt;
          )</description>
    <pubDate>Wed, 14 Dec 2005 16:42:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-12-14T16:42:01Z</dc:date>
    <item>
      <title>vla-GetInterfaceObject</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509887#M83088</link>
      <description>I'm trying to call a method in my VS2005 DLL. It was working perfectly fine &lt;BR /&gt;
until I had to format my drive and reinstall AutoCAD and Visual Studio 2005. &lt;BR /&gt;
Nothing inside the code in either my Visual Lisp project or the DLL code.&lt;BR /&gt;
&lt;BR /&gt;
Now, it fails on the vla-GetInterfaceObject call. Is there something I &lt;BR /&gt;
forgot to install? I used to have VS2003 installed alongside VS2005 when &lt;BR /&gt;
everything was working but i didn't bother reinstalling it.&lt;BR /&gt;
&lt;BR /&gt;
Dale&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Lisp code:&lt;BR /&gt;
&lt;BR /&gt;
          ((member m_type bfld_mods)&lt;BR /&gt;
           (vl-load-com)&lt;BR /&gt;
           (setq $acad (vlax-get-acad-object))&lt;BR /&gt;
           (setq vbstrcls (vla-GetInterfaceObject $acad &lt;BR /&gt;
"Elevations.BiFolds"))&lt;BR /&gt;
           (setq out (vlax-invoke-method&lt;BR /&gt;
                         vbstrcls&lt;BR /&gt;
                         "DrawBiFold"&lt;BR /&gt;
                         $acad&lt;BR /&gt;
                         fname&lt;BR /&gt;
                         sc&lt;BR /&gt;
                         (car mod_ins)&lt;BR /&gt;
                         (cadr mod_ins)&lt;BR /&gt;
                         (- unitID 1)&lt;BR /&gt;
                         (gp:list-&amp;gt;variantArray dim_list)&lt;BR /&gt;
                     ) ;_ end of vlax-invoke-method&lt;BR /&gt;
           ) ;_ end of setq&lt;BR /&gt;
           out&lt;BR /&gt;
          )</description>
      <pubDate>Wed, 14 Dec 2005 16:42:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509887#M83088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-14T16:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: vla-GetInterfaceObject</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509888#M83089</link>
      <description>For some reason the 'Register for COM Interop" checkbox was a solid color &lt;BR /&gt;
rather than displaying the usual check box. After clicking it a few times it &lt;BR /&gt;
displayed the check box. Now the world is a happy place to be again.&lt;BR /&gt;
&lt;BR /&gt;
Thanks anyway,&lt;BR /&gt;
&lt;BR /&gt;
Dale&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE&gt; wrote in message &lt;BR /&gt;
news:5037793@discussion.autodesk.com...&lt;BR /&gt;
I'm trying to call a method in my VS2005 DLL. It was working perfectly fine&lt;BR /&gt;
until I had to format my drive and reinstall AutoCAD and Visual Studio 2005.&lt;BR /&gt;
Nothing inside the code in either my Visual Lisp project or the DLL code.&lt;BR /&gt;
&lt;BR /&gt;
Now, it fails on the vla-GetInterfaceObject call. Is there something I&lt;BR /&gt;
forgot to install? I used to have VS2003 installed alongside VS2005 when&lt;BR /&gt;
everything was working but i didn't bother reinstalling it.&lt;BR /&gt;
&lt;BR /&gt;
Dale&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Lisp code:&lt;BR /&gt;
&lt;BR /&gt;
          ((member m_type bfld_mods)&lt;BR /&gt;
           (vl-load-com)&lt;BR /&gt;
           (setq $acad (vlax-get-acad-object))&lt;BR /&gt;
           (setq vbstrcls (vla-GetInterfaceObject $acad&lt;BR /&gt;
"Elevations.BiFolds"))&lt;BR /&gt;
           (setq out (vlax-invoke-method&lt;BR /&gt;
                         vbstrcls&lt;BR /&gt;
                         "DrawBiFold"&lt;BR /&gt;
                         $acad&lt;BR /&gt;
                         fname&lt;BR /&gt;
                         sc&lt;BR /&gt;
                         (car mod_ins)&lt;BR /&gt;
                         (cadr mod_ins)&lt;BR /&gt;
                         (- unitID 1)&lt;BR /&gt;
                         (gp:list-&amp;gt;variantArray dim_list)&lt;BR /&gt;
                     ) ;_ end of vlax-invoke-method&lt;BR /&gt;
           ) ;_ end of setq&lt;BR /&gt;
           out&lt;BR /&gt;
          )&lt;/DALE&gt;</description>
      <pubDate>Wed, 14 Dec 2005 16:52:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509888#M83089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-14T16:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: vla-GetInterfaceObject</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509889#M83090</link>
      <description>Did you register your assembly?&lt;BR /&gt;
--&lt;BR /&gt;
Bobby C. Jones&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE&gt; wrote in message&lt;BR /&gt;
news:5037793@discussion.autodesk.com...&lt;BR /&gt;
I'm trying to call a method in my VS2005 DLL. It was working perfectly fine&lt;BR /&gt;
until I had to format my drive and reinstall AutoCAD and Visual Studio 2005.&lt;BR /&gt;
Nothing inside the code in either my Visual Lisp project or the DLL code.&lt;BR /&gt;
&lt;BR /&gt;
Now, it fails on the vla-GetInterfaceObject call. Is there something I&lt;BR /&gt;
forgot to install? I used to have VS2003 installed alongside VS2005 when&lt;BR /&gt;
everything was working but i didn't bother reinstalling it.&lt;BR /&gt;
&lt;BR /&gt;
Dale&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Lisp code:&lt;BR /&gt;
&lt;BR /&gt;
          ((member m_type bfld_mods)&lt;BR /&gt;
           (vl-load-com)&lt;BR /&gt;
           (setq $acad (vlax-get-acad-object))&lt;BR /&gt;
           (setq vbstrcls (vla-GetInterfaceObject $acad&lt;BR /&gt;
"Elevations.BiFolds"))&lt;BR /&gt;
           (setq out (vlax-invoke-method&lt;BR /&gt;
                         vbstrcls&lt;BR /&gt;
                         "DrawBiFold"&lt;BR /&gt;
                         $acad&lt;BR /&gt;
                         fname&lt;BR /&gt;
                         sc&lt;BR /&gt;
                         (car mod_ins)&lt;BR /&gt;
                         (cadr mod_ins)&lt;BR /&gt;
                         (- unitID 1)&lt;BR /&gt;
                         (gp:list-&amp;gt;variantArray dim_list)&lt;BR /&gt;
                     ) ;_ end of vlax-invoke-method&lt;BR /&gt;
           ) ;_ end of setq&lt;BR /&gt;
           out&lt;BR /&gt;
          )&lt;/DALE&gt;</description>
      <pubDate>Wed, 14 Dec 2005 16:52:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509889#M83090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-14T16:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: vla-GetInterfaceObject</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509890#M83091</link>
      <description>Hi Bobby. I'm actually using the "Start external program' method to run &lt;BR /&gt;
AutoCAD so the assembly gets registered automatically (I'm assuming).&lt;BR /&gt;
&lt;BR /&gt;
Dale&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Bobby C. Jones" &lt;BJONES&gt; wrote in message &lt;BR /&gt;
news:5037801@discussion.autodesk.com...&lt;BR /&gt;
Did you register your assembly?&lt;BR /&gt;
--&lt;BR /&gt;
Bobby C. Jones&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE&gt; wrote in message&lt;BR /&gt;
news:5037793@discussion.autodesk.com...&lt;BR /&gt;
I'm trying to call a method in my VS2005 DLL. It was working perfectly fine&lt;BR /&gt;
until I had to format my drive and reinstall AutoCAD and Visual Studio 2005.&lt;BR /&gt;
Nothing inside the code in either my Visual Lisp project or the DLL code.&lt;BR /&gt;
&lt;BR /&gt;
Now, it fails on the vla-GetInterfaceObject call. Is there something I&lt;BR /&gt;
forgot to install? I used to have VS2003 installed alongside VS2005 when&lt;BR /&gt;
everything was working but i didn't bother reinstalling it.&lt;BR /&gt;
&lt;BR /&gt;
Dale&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Lisp code:&lt;BR /&gt;
&lt;BR /&gt;
          ((member m_type bfld_mods)&lt;BR /&gt;
           (vl-load-com)&lt;BR /&gt;
           (setq $acad (vlax-get-acad-object))&lt;BR /&gt;
           (setq vbstrcls (vla-GetInterfaceObject $acad&lt;BR /&gt;
"Elevations.BiFolds"))&lt;BR /&gt;
           (setq out (vlax-invoke-method&lt;BR /&gt;
                         vbstrcls&lt;BR /&gt;
                         "DrawBiFold"&lt;BR /&gt;
                         $acad&lt;BR /&gt;
                         fname&lt;BR /&gt;
                         sc&lt;BR /&gt;
                         (car mod_ins)&lt;BR /&gt;
                         (cadr mod_ins)&lt;BR /&gt;
                         (- unitID 1)&lt;BR /&gt;
                         (gp:list-&amp;gt;variantArray dim_list)&lt;BR /&gt;
                     ) ;_ end of vlax-invoke-method&lt;BR /&gt;
           ) ;_ end of setq&lt;BR /&gt;
           out&lt;BR /&gt;
          )&lt;/DALE&gt;&lt;/BJONES&gt;</description>
      <pubDate>Wed, 14 Dec 2005 17:02:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509890#M83091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-14T17:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: vla-GetInterfaceObject</title>
      <link>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509891#M83092</link>
      <description>Not unless you tell VS to do so.  Which from your other post looks like you&lt;BR /&gt;
have &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
--&lt;BR /&gt;
Bobby C. Jones&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE&gt; wrote in message&lt;BR /&gt;
news:5037836@discussion.autodesk.com...&lt;BR /&gt;
Hi Bobby. I'm actually using the "Start external program' method to run&lt;BR /&gt;
AutoCAD so the assembly gets registered automatically (I'm assuming).&lt;BR /&gt;
&lt;BR /&gt;
Dale&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Bobby C. Jones" &lt;BJONES&gt; wrote in message&lt;BR /&gt;
news:5037801@discussion.autodesk.com...&lt;BR /&gt;
Did you register your assembly?&lt;BR /&gt;
--&lt;BR /&gt;
Bobby C. Jones&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE&gt; wrote in message&lt;BR /&gt;
news:5037793@discussion.autodesk.com...&lt;BR /&gt;
I'm trying to call a method in my VS2005 DLL. It was working perfectly fine&lt;BR /&gt;
until I had to format my drive and reinstall AutoCAD and Visual Studio 2005.&lt;BR /&gt;
Nothing inside the code in either my Visual Lisp project or the DLL code.&lt;BR /&gt;
&lt;BR /&gt;
Now, it fails on the vla-GetInterfaceObject call. Is there something I&lt;BR /&gt;
forgot to install? I used to have VS2003 installed alongside VS2005 when&lt;BR /&gt;
everything was working but i didn't bother reinstalling it.&lt;BR /&gt;
&lt;BR /&gt;
Dale&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Lisp code:&lt;BR /&gt;
&lt;BR /&gt;
          ((member m_type bfld_mods)&lt;BR /&gt;
           (vl-load-com)&lt;BR /&gt;
           (setq $acad (vlax-get-acad-object))&lt;BR /&gt;
           (setq vbstrcls (vla-GetInterfaceObject $acad&lt;BR /&gt;
"Elevations.BiFolds"))&lt;BR /&gt;
           (setq out (vlax-invoke-method&lt;BR /&gt;
                         vbstrcls&lt;BR /&gt;
                         "DrawBiFold"&lt;BR /&gt;
                         $acad&lt;BR /&gt;
                         fname&lt;BR /&gt;
                         sc&lt;BR /&gt;
                         (car mod_ins)&lt;BR /&gt;
                         (cadr mod_ins)&lt;BR /&gt;
                         (- unitID 1)&lt;BR /&gt;
                         (gp:list-&amp;gt;variantArray dim_list)&lt;BR /&gt;
                     ) ;_ end of vlax-invoke-method&lt;BR /&gt;
           ) ;_ end of setq&lt;BR /&gt;
           out&lt;BR /&gt;
          )&lt;/DALE&gt;&lt;/BJONES&gt;&lt;/DALE&gt;</description>
      <pubDate>Wed, 14 Dec 2005 17:08:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vla-getinterfaceobject/m-p/1509891#M83092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-14T17:08:37Z</dc:date>
    </item>
  </channel>
</rss>

