<?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: LabVIEW: An exception occurred within the external code called by a Call Library Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW. VI &amp;quot;...&amp;quot; was stopped at node &amp;quot;...&amp;quot; of subVI &amp;amp;quo in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/LabVIEW-An-exception-occurred-within-the-external-code-called-by/m-p/1879435#M635382</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;DuneMedical wrote:
&lt;P&gt;Any advice?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes. Stop trying to stuff the entire body of your message in the subject thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know how you can expect us to help. You've told us nothing about what your DLL does, or how you're calling it, or how it interface to LabVIEW, or whether it's dependent on other DLLs, or whether it tries to access certain resource that have to be initialized, or anything else. You haven't even shown us any code. You've told us: "It doesn't work in the executable". Now, if I came to you with that exact problem statement how would you help?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2012 14:11:49 GMT</pubDate>
    <dc:creator>smercurio_fc</dc:creator>
    <dc:date>2012-02-16T14:11:49Z</dc:date>
    <item>
      <title>LabVIEW: An exception occurred within the external code called by a Call Library Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW. VI "..." was stopped at node "..." of subVI "..."</title>
      <link>https://ni.lithium.com/t5/LabVIEW/LabVIEW-An-exception-occurred-within-the-external-code-called-by/m-p/1879159#M635321</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Help please...&lt;/P&gt;
&lt;P&gt;I get the message:&lt;/P&gt;
&lt;P&gt;"LabVIEW: An exception occurred within the external code called by a Call Library Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW. VI "..." was stopped at node&amp;nbsp;"..." of subVI "...""&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;Call Library Node calls&amp;nbsp;a dll I wrote in C&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This message pops up &lt;STRONG&gt;only&lt;/STRONG&gt; when running as an executable, as VI it never happens&lt;/P&gt;
&lt;P&gt;Also - when running the executable without closing the window (after approving the error message) it runs without any problems&lt;/P&gt;
&lt;P&gt;Any advice?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Version:&lt;/P&gt;
&lt;P&gt;LV 7.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Roy Sasi&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 10:23:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/LabVIEW-An-exception-occurred-within-the-external-code-called-by/m-p/1879159#M635321</guid>
      <dc:creator>DuneMedical</dc:creator>
      <dc:date>2012-02-16T10:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEW: An exception occurred within the external code called by a Call Library Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW. VI "..." was stopped at node "..." of subVI &amp;quo</title>
      <link>https://ni.lithium.com/t5/LabVIEW/LabVIEW-An-exception-occurred-within-the-external-code-called-by/m-p/1879407#M635378</link>
      <description>&lt;P&gt;&lt;SPAN&gt;More details to my previous post:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My target is a windows XP OS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My code calls a dll - when I run it as a VI the dll is called and works without a problem only when I compile the code and run it as an executable I saw the error&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When I run the executable the error almost always appears - when I press OK (to confirm error popup window), my application window is still open, and run my application again - the error never appears&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Roy Sasi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 13:58:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/LabVIEW-An-exception-occurred-within-the-external-code-called-by/m-p/1879407#M635378</guid>
      <dc:creator>DuneMedical</dc:creator>
      <dc:date>2012-02-16T13:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEW: An exception occurred within the external code called by a Call Library Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW. VI "..." was stopped at node "..." of subVI &amp;quo</title>
      <link>https://ni.lithium.com/t5/LabVIEW/LabVIEW-An-exception-occurred-within-the-external-code-called-by/m-p/1879435#M635382</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;DuneMedical wrote:
&lt;P&gt;Any advice?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes. Stop trying to stuff the entire body of your message in the subject thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know how you can expect us to help. You've told us nothing about what your DLL does, or how you're calling it, or how it interface to LabVIEW, or whether it's dependent on other DLLs, or whether it tries to access certain resource that have to be initialized, or anything else. You haven't even shown us any code. You've told us: "It doesn't work in the executable". Now, if I came to you with that exact problem statement how would you help?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 14:11:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/LabVIEW-An-exception-occurred-within-the-external-code-called-by/m-p/1879435#M635382</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2012-02-16T14:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEW: An exception occurred within the external code called by a Call Library Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW. VI "..." was stopped at node "..." of subVI &amp;quo</title>
      <link>https://ni.lithium.com/t5/LabVIEW/LabVIEW-An-exception-occurred-within-the-external-code-called-by/m-p/1879633#M635414</link>
      <description>&lt;P&gt;Especially in earlier versions of LV these sorts of errors were common if the call wasn't made just right or the parameters were set up incorrectly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Where did you get the DLL from? Was it written internally or did it come from another vendor? &lt;/LI&gt;
&lt;LI&gt;Try building a DLL call into a very small, simple application. Do you see the same issue?&lt;/LI&gt;
&lt;LI&gt;Are there multiple calls to the same DLL in your code? If so, is there problems with all of them?&lt;/LI&gt;
&lt;LI&gt;Can you track it down to a specific function that you are trying to access that is causing the problem?&lt;/LI&gt;
&lt;LI&gt;Is there any indication of a memory leak?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally any additional information you can provide would helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike...&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 16:10:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/LabVIEW-An-exception-occurred-within-the-external-code-called-by/m-p/1879633#M635414</guid>
      <dc:creator>mikeporter</dc:creator>
      <dc:date>2012-02-16T16:10:24Z</dc:date>
    </item>
  </channel>
</rss>

