<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : [solved] Crash on exit since update 17.2 -&gt; 18.0</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : [solved] Crash on exit since update 17.2 -&gt; 18.0]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 08 Sep 2026 00:07:02 +0000</pubDate>
  <lastBuildDate>Fri, 02 Aug 2024 08:03:44 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23405</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[[solved] Crash on exit since update 17.2 -&gt; 18.0 : Just a small trick to be more...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=78985&amp;title=solved-crash-on-exit-since-update-17-2-18-0#78985</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23405<br /><strong>Posted:</strong> 02 August 2024 at 8:03am<br /><br />Just a small trick to be more flexible when calling base class:<div><br></div><div><b>__super::</b>ExitInstance();</div>]]>
   </description>
   <pubDate>Fri, 02 Aug 2024 08:03:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=78985&amp;title=solved-crash-on-exit-since-update-17-2-18-0#78985</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Crash on exit since update 17.2 -&gt; 18.0 : Alexander, that indeed seems to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75998&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75998</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2876">DavidH</a><br /><strong>Subject:</strong> 23405<br /><strong>Posted:</strong> 06 August 2017 at 4:16pm<br /><br />Alexander, that indeed seems to fix it! Thanks.<br><br>I derived MyApp from CXTPWinApp instead of CWinApp, and changed the ExitInstance function:<br><br>int MyApp::ExitInstance() {<br>&nbsp; // Save the current state for toolbars and menus.<br>&nbsp; .....<br>&nbsp; // return CWinApp::ExitInstance(); <br>&nbsp; // changed to:<br>&nbsp; return CXTPWinApp::ExitInstance();<br>}<br><br>]]>
   </description>
   <pubDate>Sun, 06 Aug 2017 16:16:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75998&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75998</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Crash on exit since update 17.2 -&gt; 18.0 : Try to derive your application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75994&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75994</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 23405<br /><strong>Posted:</strong> 05 August 2017 at 2:54pm<br /><br />Try to derive your application from from CXTPWinApp or call XTPShutdown from your Existinstance implementation right before returning from the method. Let me know if it helps.<div><br></div><div>Regards,</div><div>&nbsp; Alexander</div>]]>
   </description>
   <pubDate>Sat, 05 Aug 2017 14:54:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75994&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75994</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Crash on exit since update 17.2 -&gt; 18.0 : I&amp;#039;m glad to hear I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75993&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75993</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2876">DavidH</a><br /><strong>Subject:</strong> 23405<br /><strong>Posted:</strong> 04 August 2017 at 11:36am<br /><br />I'm glad to hear I'm not the only one!<br><br>I'm using:<br>- Command Bars (Ribbon)<br>- Docking Pane<br>- Report Control<br>- Controls<br><br>Perhaps this helps to narrow down the issue.<br><br>]]>
   </description>
   <pubDate>Fri, 04 Aug 2017 11:36:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75993&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75993</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Crash on exit since update 17.2 -&gt; 18.0 : I have same problem with my application....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75991&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75991</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4405">hakoar</a><br /><strong>Subject:</strong> 23405<br /><strong>Posted:</strong> 03 August 2017 at 1:47pm<br /><br />I have same problem with my application. It started to crash in application exit after application was compiled against version 18? And it's also statically linked 64-bit Unicode app.<br>With version 17 I had no no problems.<br><br>]]>
   </description>
   <pubDate>Thu, 03 Aug 2017 13:47:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75991&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75991</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Crash on exit since update 17.2 -&gt; 18.0 : Today I tried to upgrade my application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75990&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75990</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2876">DavidH</a><br /><strong>Subject:</strong> 23405<br /><strong>Posted:</strong> 03 August 2017 at 1:17pm<br /><br />Today I tried to upgrade my application from version 17.2 to version 18.0.1 of the CodeJock Toolkit.<br><br>I'm using Microsoft Visual Studio Community 2017, version 15.2.<br>I statically link to the Unicode Debug Win32 version of the Codejock library, built using the default Deploy tool.<br><br>In the debug version, I consistently get an error on exit that did not exist prior to the upgrade. See the stack trace below. In the release build, I get this problem at random (not reproducable).<br><br>In version 17.2 I never had this problem, but when searching the forum, this seems to have been a problem before.<br><br>What can I do to help to resolve this?<br><br><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp; 00000000()&nbsp;&nbsp;&nbsp; Unknown<br>&nbsp;&nbsp;&nbsp;&nbsp; &#091;Frames below may be incorrect and/or missing&#093;&nbsp;&nbsp;&nbsp; <br>&gt;&nbsp;&nbsp;&nbsp; MyApp.exe!CCmdTarget::InternalRelease() Line 168&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CXTPMarkupObject::Release() Line 653&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CXTPMarkupPropertyMetadata::~CXTPMarkupPropertyMetadata() Line 158&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; &#091;External Code&#093;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CXTPMarkupDependencyProperty::~CXTPMarkupDependencyProperty() Line 188&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; &#091;External Code&#093;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CXTPMarkupObject::OnFinalRelease() Line 647&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CCmdTarget::InternalRelease() Line 177&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CXTPMarkupObject::Release() Line 653&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CXTPMarkupPropertyFromNameMap::~CXTPMarkupPropertyFromNameMap() Line 99&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CXTPSingleton&lt;CXTPMarkupPropertyFromNameMap&gt;::Destroy(void * ptr) Line 112&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CXTPSingletonPointer::Destroy() Line 105&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!CXTPSingletonPointer::~CXTPSingletonPointer() Line 55&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; &#091;External Code&#093;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!_execute_onexit_table::__l2::&lt;lambda&gt;() Line 206&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!__crt_seh_guarded_call&lt;int&gt;::operator()&lt;void &lt;lambda&gt;(void),int &lt;lambda&gt;(void) &amp;,void &lt;lambda&gt;(void) &gt;(__acrt_lock_and_call::__l2::void &lt;lambda&gt;(void) &amp;&amp; setup, _execute_onexit_table::__l2::int &lt;lambda&gt;(void) &amp; action, __acrt_lock_and_call::__l2::void &lt;lambda&gt;(void) &amp;&amp; cleanup) Line 204&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!__acrt_lock_and_call&lt;int &lt;lambda&gt;(void) &gt;(const __acrt_lock_id lock_id, _execute_onexit_table::__l2::int &lt;lambda&gt;(void) &amp;&amp; action) Line 912&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!_execute_onexit_table(_onexit_table_t * table) Line 160&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!common_exit::__l2::&lt;lambda&gt;() Line 211&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!__crt_seh_guarded_call&lt;void&gt;::operator()&lt;void &lt;lambda&gt;(void),void &lt;lambda&gt;(void) &amp;,void &lt;lambda&gt;(void) &gt;(__acrt_lock_and_call::__l2::void &lt;lambda&gt;(void) &amp;&amp; setup, common_exit::__l2::void &lt;lambda&gt;(void) &amp; action, __acrt_lock_and_call::__l2::void &lt;lambda&gt;(void) &amp;&amp; cleanup) Line 225&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!__acrt_lock_and_call&lt;void &lt;lambda&gt;(void) &gt;(const __acrt_lock_id lock_id, common_exit::__l2::void &lt;lambda&gt;(void) &amp;&amp; action) Line 912&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!common_exit(const int return_code, const _crt_exit_cleanup_mode cleanup_mode, const _crt_exit_return_mode return_mode) Line 186&nbsp;&nbsp;&nbsp; C++<br>&nbsp;&nbsp;&nbsp;&nbsp; MyApp.exe!exit(int return_code) Line 278&nbsp;&nbsp;&nbsp; C++</font><br><br><br>]]>
   </description>
   <pubDate>Thu, 03 Aug 2017 13:17:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23405&amp;PID=75990&amp;title=solved-crash-on-exit-since-update-17-2-18-0#75990</guid>
  </item> 
 </channel>
</rss>