<?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: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL)) in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640019#M144520</link>
    <description>There are two things I can think of offhand.  First is that you can't call Apprentice in the same process as Inventor (if you were, why aren't you just having Inventor do everything?).  Second is that some methods and properties from the Inventor Application aren't available in Apprentice, in which case you do get the Not Implemented exception.  Some of these methods have a mentioning in the API help when they aren't usable in Apprentice.</description>
    <pubDate>Fri, 26 Feb 2010 14:24:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-02-26T14:24:38Z</dc:date>
    <item>
      <title>Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640018#M144519</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
In my VB.NET 2008 Inventor Add-in I use some apprentice functions. The apprentice code is in a separate VB6.0 ActiveX exe which the VB.NET code references using COM (because apprentice code needs to run out of process). So far everything works fine.&lt;BR /&gt;
&lt;BR /&gt;
For easy maintenance I'd like all my code in Visual Studio 2008, so I started a new Class Library project, copied the code into the new project and compiled it. In the add-in I made a new reference to the Class Library dll file (not with COM but native .NET this time) and updated the code to use the new reference. But now I get the following error: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL)). So I thought maybe because the Class Library is a dll file it also runs in the same process and the Apprentice code fails. So I tried the same with a new Console EXE project and repeated everything. Unfortunately I got the same error.&lt;BR /&gt;
&lt;BR /&gt;
So I'm kinda stuck here... does anyone know what I'm doing wrong here?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Daniël Reesing&lt;BR /&gt;
IV2010 SP2</description>
      <pubDate>Fri, 26 Feb 2010 09:08:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640018#M144519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-26T09:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640019#M144520</link>
      <description>There are two things I can think of offhand.  First is that you can't call Apprentice in the same process as Inventor (if you were, why aren't you just having Inventor do everything?).  Second is that some methods and properties from the Inventor Application aren't available in Apprentice, in which case you do get the Not Implemented exception.  Some of these methods have a mentioning in the API help when they aren't usable in Apprentice.</description>
      <pubDate>Fri, 26 Feb 2010 14:24:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640019#M144520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-26T14:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640020#M144521</link>
      <description>Actually there are some things (or at least there used to be) you can do with apprentice that you can not do with the Inventor API.  What I remember was copying an assembly to a new directory.  With Inventor I had to run through every file and update the references to the new filenames while with Apprentice I could have collected them all up into an object and saved them with a single function call, allowing it to replace the references for me.&lt;BR /&gt;
&amp;gt; {quote:title=peter.townsend wrote:}{quote}&lt;BR /&gt;
&amp;gt; There are two things I can think of offhand.  First is that you can't call Apprentice in the same process as Inventor (if you were, why aren't you just having Inventor do everything?).  &lt;BR /&gt;
&lt;BR /&gt;
I'm wondering if your new class is using the Apprentice API or the Inventor API.  I take it that you're performing Apprentice work in this dll.  If your add-in calls your new dll and the dll is using the Apprentice API, it will not work.&lt;BR /&gt;
Your best bet is to try to convert your Apprentice code to use the Inventor API instead.  I think once you do that you should be up and running.</description>
      <pubDate>Fri, 26 Feb 2010 14:56:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640020#M144521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-26T14:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640021#M144522</link>
      <description>I actually use it for copying an assembly with some drawings and this used to work fine in an VB6.0 ActiveX exe. Rewriting the code to use the Inventor API should be possible, but this is more work and the code will be more complex than with the Apprentice API.&lt;BR /&gt;
&lt;BR /&gt;
Isn't it possible to make a dll or exe that runs out-of-process but is referenced by the Addin? This way I can still use the code that I already have.&lt;BR /&gt;
&lt;BR /&gt;
Cheers, Daniël</description>
      <pubDate>Fri, 26 Feb 2010 15:05:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640021#M144522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-26T15:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640022#M144523</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;EM&gt;Isn't it possible to make a dll or exe that &lt;BR /&gt;
runs out-of-process but is referenced by the Addin?&lt;/EM&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;A dll, no; by definition, the code executes in &lt;BR /&gt;
the process space of the executable that called it.&amp;nbsp; An ActiveX EXE, &lt;BR /&gt;
yes.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;
&lt;DIV align="center"&gt;&lt;BR /&gt;
&lt;HR width="98%" /&gt;&lt;BR /&gt;
&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV align="left"&gt;&lt;SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: Verdana"&gt;&lt;B&gt;Брайян Р. &lt;BR /&gt;
Ивашкевич&lt;/B&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;
style="FONT-SIZE: 14pt; FONT-FAMILY: Verdana"&amp;gt;&lt;B&gt;&lt;I&gt;inventor &lt;BR /&gt;
specialist&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV align="left"&gt;&lt;SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;
style="FONT-SIZE: 14pt; FONT-FAMILY: Verdana"&amp;gt;&lt;B&gt;&lt;A&gt;&lt;BR /&gt;
href="http://www.corefurnace.com/"&amp;gt;core furnace systems&lt;/A&gt;&lt;/B&gt;&lt;/SPAN&gt; &lt;BR /&gt;
&lt;/DIV&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 03 Mar 2010 13:00:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640022#M144523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-03T13:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640023#M144524</link>
      <description>Yes, I know an ActiveX exe runs out-of-process. But what is the .NET equivalent to an ActiveX exe?&lt;BR /&gt;
&lt;BR /&gt;
I've read somewhere that 'Windows Communication Foundation' is the latest evolution of COM (http://en.wikipedia.org/wiki/Windows_Communication_Foundation). Is this what I should use?&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Daniël</description>
      <pubDate>Wed, 03 Mar 2010 13:17:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640023#M144524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-03T13:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640024#M144525</link>
      <description>Is there really no one who can help me with this?&lt;BR /&gt;
&lt;BR /&gt;
I you have any thoughts, please share them with me.&lt;BR /&gt;
&lt;BR /&gt;
Daniël</description>
      <pubDate>Mon, 08 Mar 2010 09:34:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640024#M144525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-08T09:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640025#M144526</link>
      <description>I haven't had time to look through these much, but they came up with a &lt;BR /&gt;
Google search&lt;BR /&gt;
&lt;BR /&gt;
You might recognize a name in the first one  ;~)&lt;BR /&gt;
http://social.msdn.microsoft.com/Forums/en-US/vbinterop/thread/82d696c4-788f-47e8-815d-ada5ceb1ff13&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
http://www.codeproject.com/KB/COM/ActiveXEXEWrappers.aspx&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
KWiKMcad&lt;BR /&gt;
Kent Keller&lt;BR /&gt;
"djreesing" wrote in message news:6350364@discussion.autodesk.com...&lt;BR /&gt;
Is there really no one who can help me with this?&lt;BR /&gt;
&lt;BR /&gt;
I you have any thoughts, please share them with me.&lt;BR /&gt;
&lt;BR /&gt;
Daniël</description>
      <pubDate>Mon, 08 Mar 2010 12:52:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640025#M144526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-08T12:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640026#M144527</link>
      <description>Thanks!&lt;BR /&gt;
&lt;BR /&gt;
I'll have a look at it.&lt;BR /&gt;
&lt;BR /&gt;
Daniël</description>
      <pubDate>Mon, 08 Mar 2010 13:00:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/not-implemented-exception-from-hresult-0x80004001-e-notimpl/m-p/2640026#M144527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-08T13:00:21Z</dc:date>
    </item>
  </channel>
</rss>

