<?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 : Crash (access violation) on application close</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Crash (access violation) on application close]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 00:02:51 +0000</pubDate>
  <lastBuildDate>Mon, 18 Jun 2007 03:20:31 +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=7381</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[Crash (access violation) on application close : Hi oleg,  I added the Done call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7381&amp;PID=23752&amp;title=crash-access-violation-on-application-close#23752</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2724">SvenC</a><br /><strong>Subject:</strong> 7381<br /><strong>Posted:</strong> 18 June 2007 at 3:20am<br /><br />Hi oleg,<DIV>&nbsp;</DIV><DIV>I added the Done call and the access violation is gont.</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot,</DIV><DIV>Sven</DIV>]]>
   </description>
   <pubDate>Mon, 18 Jun 2007 03:20:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7381&amp;PID=23752&amp;title=crash-access-violation-on-application-close#23752</guid>
  </item> 
  <item>
   <title><![CDATA[Crash (access violation) on application close : Hello,  try call   CXTPPaintManager::Done()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7381&amp;PID=23700&amp;title=crash-access-violation-on-application-close#23700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7381<br /><strong>Posted:</strong> 15 June 2007 at 5:04am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>try call </DIV><DIV>&nbsp;</DIV><DIV><FONT size=1>CXTPPaintManager::Done() in ExitInstance of your CApp.</FONT></DIV>]]>
   </description>
   <pubDate>Fri, 15 Jun 2007 05:04:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7381&amp;PID=23700&amp;title=crash-access-violation-on-application-close#23700</guid>
  </item> 
  <item>
   <title><![CDATA[Crash (access violation) on application close : Hi,  when I debug an application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7381&amp;PID=23675&amp;title=crash-access-violation-on-application-close#23675</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2724">SvenC</a><br /><strong>Subject:</strong> 7381<br /><strong>Posted:</strong> 14 June 2007 at 8:45am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>when I debug an application where I use the report control from a regular dll (I defined <FONT color=#008000 size=1>XT_INIT_BY_REGULAR_DLL<FONT color=#000000> and call XTFuncInitDLL) built with VS2005 SP1 and toolkit version 11.1.0 I get an access violation when the app is closing.</FONT></FONT></DIV><DIV><FONT size=1></FONT>&nbsp;</DIV><DIV><FONT size=1>It happens in the destructor of CXTPPaintManager. It seems that an explicit XTFuncExitDLL call might be useful to explicitly uninitialize the toolkit.</FONT></DIV><DIV><FONT size=1></FONT>&nbsp;</DIV><DIV><FONT size=1>Any ideas? Here is the call stack:</FONT></DIV><DIV><FONT size=1></FONT>&nbsp;</DIV><FONT size=1>&gt;&nbsp;mfc80d.dll!AfxImageList_Destroy(_IMAGELIST * himl=0x08047508)&nbsp; Line 40 + 0x12 bytes&nbsp;C++<BR>&nbsp;&nbsp;mfc80d.dll!CImageList::DeleteImageList()&nbsp; Line 1333&nbsp;C++<BR>&nbsp;&nbsp;mfc80d.dll!CImageList::~CImageList()&nbsp; Line 1309 + 0xb bytes&nbsp;C++<BR>&nbsp;&nbsp;ToolkitPro1110vc80DR.dll!XTPPaintThemes::CXTPOffice2003Theme::~CXTPOffice2003Theme()&nbsp; Line 66 + 0xe bytes&nbsp;C++<BR>&nbsp;&nbsp;ToolkitPro1110vc80DR.dll!XTPPaintThemes::CXTPOffice2003Theme::`vector deleting destructor'()&nbsp; + 0x6c bytes&nbsp;C++<BR>&nbsp;&nbsp;mfc80d.dll!CCmdTarget::OnFinalRelease()&nbsp; Line 579 + 0x21 bytes&nbsp;C++<BR>&nbsp;&nbsp;mfc80d.dll!CCmdTarget::InternalRelease()&nbsp; Line 175&nbsp;C++<BR>&nbsp;&nbsp;ToolkitPro1110vc80DR.dll!CXTPPaintManager::Done()&nbsp; Line 276&nbsp;C++<BR>&nbsp;&nbsp;ToolkitPro1110vc80DR.dll!CXTPPaintManager::CPaintManagerDestructor::~CPaintManagerDestructor()&nbsp; Line 65&nbsp;C++<BR>&nbsp;&nbsp;ToolkitPro1110vc80DR.dll!`dynamic atexit destructor for '__xtpPaintManagerDestructor''()&nbsp; + 0x28 bytes&nbsp;C++<BR>&nbsp;&nbsp;ToolkitPro1110vc80DR.dll!_CRT_INIT(void * hDllHandle=0x03f50000, unsigned long dwReason=0, void * lpreserved=0x00000001)&nbsp; Line 420&nbsp;C<BR>&nbsp;&nbsp;ToolkitPro1110vc80DR.dll!__DllMainCRTStartup(void * hDllHandle=0x03f50000, unsigned long dwReason=0, void * lpreserved=0x00000001)&nbsp; Line 512 + 0x11 bytes&nbsp;C<BR>&nbsp;&nbsp;ToolkitPro1110vc80DR.dll!_DllMainCRTStartup(void * hDllHandle=0x03f50000, unsigned long dwReason=0, void * lpreserved=0x00000001)&nbsp; Line 462 + 0x11 bytes&nbsp;C<BR>&nbsp;&nbsp;<a href="mailto:ntdll.dll!_LdrpCallInitRoutine@16" target="_blank">ntdll.dll!_LdrpCallInitRoutine@16</A>()&nbsp; + 0x14 bytes&nbsp;<BR>&nbsp;&nbsp;<a href="mailto:ntdll.dll!_LdrShutdownProcess@0" target="_blank">ntdll.dll!_LdrShutdownProcess@0</A>()&nbsp; - 0x51 bytes&nbsp;<BR>&nbsp;&nbsp;kernel32.dll!77e668a3() &nbsp;<BR></FONT><DIV><FONT size=1></FONT>&nbsp;</DIV><DIV><FONT size=1></FONT>&nbsp;</DIV><DIV><FONT size=1>--</FONT></DIV><DIV><FONT size=1>SvenC</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 14 Jun 2007 08:45:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7381&amp;PID=23675&amp;title=crash-access-violation-on-application-close#23675</guid>
  </item> 
 </channel>
</rss>