<?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 EXCEPTION_NONCONTINUABLE_EXCEPTION when using OTK .dll compiled in different machine in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/EXCEPTION-NONCONTINUABLE-EXCEPTION-when-using-OTK-dll-compiled/m-p/936942#M12935</link>
    <description>&lt;P&gt;In my company, we developed a plugin for Creo Parametric 9.0 using the C++ object toolkit. The plugin consists in a .dll that is compiled with Visual Studio 2022, with dependencies linked statically. The .dll works synchronously.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Between developers, we tried to distribute internally the .dll after compilation. But if the .dll is used in a different machine from the one it was compiled in, Creo crashes with EXCEPTION_NONCONTINUABLE_EXCEPTION. I'm attaching the traceback. log with the name of our plugin replaced with "&amp;lt;OUR_PLUGIN_NAME&amp;gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;is it possible to distribute a .dll between machines, if all of them have the OTK installed, within the same license server? Is it possible between different licenses?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2024 13:27:16 GMT</pubDate>
    <dc:creator>MF_10605060</dc:creator>
    <dc:date>2024-03-14T13:27:16Z</dc:date>
    <item>
      <title>EXCEPTION_NONCONTINUABLE_EXCEPTION when using OTK .dll compiled in different machine</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/EXCEPTION-NONCONTINUABLE-EXCEPTION-when-using-OTK-dll-compiled/m-p/936942#M12935</link>
      <description>&lt;P&gt;In my company, we developed a plugin for Creo Parametric 9.0 using the C++ object toolkit. The plugin consists in a .dll that is compiled with Visual Studio 2022, with dependencies linked statically. The .dll works synchronously.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Between developers, we tried to distribute internally the .dll after compilation. But if the .dll is used in a different machine from the one it was compiled in, Creo crashes with EXCEPTION_NONCONTINUABLE_EXCEPTION. I'm attaching the traceback. log with the name of our plugin replaced with "&amp;lt;OUR_PLUGIN_NAME&amp;gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;is it possible to distribute a .dll between machines, if all of them have the OTK installed, within the same license server? Is it possible between different licenses?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 13:27:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/EXCEPTION-NONCONTINUABLE-EXCEPTION-when-using-OTK-dll-compiled/m-p/936942#M12935</guid>
      <dc:creator>MF_10605060</dc:creator>
      <dc:date>2024-03-14T13:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: EXCEPTION_NONCONTINUABLE_EXCEPTION when using OTK .dll compiled in different machine</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/EXCEPTION-NONCONTINUABLE-EXCEPTION-when-using-OTK-dll-compiled/m-p/936973#M12936</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I hope that you&amp;nbsp;&lt;STRONG&gt;unlocked&lt;/STRONG&gt; application before distribution. Also the application must be&amp;nbsp;&lt;STRONG&gt;digitally signed&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 14:47:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/EXCEPTION-NONCONTINUABLE-EXCEPTION-when-using-OTK-dll-compiled/m-p/936973#M12936</guid>
      <dc:creator>MartinHanak</dc:creator>
      <dc:date>2024-03-14T14:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: EXCEPTION_NONCONTINUABLE_EXCEPTION when using OTK .dll compiled in different machine</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/EXCEPTION-NONCONTINUABLE-EXCEPTION-when-using-OTK-dll-compiled/m-p/937016#M12940</link>
      <description>&lt;P&gt;it is highly unlikely you are experiencing a license issue - if it would be a license problem your app would fail to initialize with some kind of error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;start with the basic checks:&lt;/P&gt;
&lt;P&gt;- was the dll built using PTC specified visual studio version, windows SDK version and platform toolset version.&lt;/P&gt;
&lt;P&gt;- was the dll compiled with the correct runtime library and PTC specified preprocessor macros.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;traceback file - just curious - how is it possible to have the trace creation timestamp to be a month earlier that the executable build timestamp?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;traceback file - having your exception trace to be between&amp;nbsp; libui_sh and VCRUNTIME140 - this could possibly point to a problem of filesystem or graphic system access and/or memory stack corruption by your app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to make a do-nothing app similar to otk_install test app. Make sure it loads everywhere and go to the next step(s).&lt;/P&gt;
&lt;P&gt;HIH&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 17:12:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/EXCEPTION-NONCONTINUABLE-EXCEPTION-when-using-OTK-dll-compiled/m-p/937016#M12940</guid>
      <dc:creator>FV</dc:creator>
      <dc:date>2024-03-14T17:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: EXCEPTION_NONCONTINUABLE_EXCEPTION when using OTK .dll compiled in different machine</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/EXCEPTION-NONCONTINUABLE-EXCEPTION-when-using-OTK-dll-compiled/m-p/940811#M12970</link>
      <description>&lt;P&gt;Thanks for the replies, in the end the cause was an unhandled exception in our code. It could not be a licensing issue as FV said.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 09:02:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/EXCEPTION-NONCONTINUABLE-EXCEPTION-when-using-OTK-dll-compiled/m-p/940811#M12970</guid>
      <dc:creator>MF_10605060</dc:creator>
      <dc:date>2024-04-02T09:02:35Z</dc:date>
    </item>
  </channel>
</rss>

