<?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 : Access violation in __xtpSkinManagerDestructor</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Access violation in __xtpSkinManagerDestructor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 25 May 2026 15:54:31 +0000</pubDate>
  <lastBuildDate>Fri, 10 Jul 2009 09:30:28 +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=14709</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[Access violation in __xtpSkinManagerDestructor : Static variables must be cleared...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14709&amp;PID=50849&amp;title=access-violation-in-xtpskinmanagerdestructor#50849</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14709<br /><strong>Posted:</strong> 10 July 2009 at 9:30am<br /><br />Static variables must be cleared manually when inside an OCX (preferably in ExitInstance). This goes for non-CJ code too.]]>
   </description>
   <pubDate>Fri, 10 Jul 2009 09:30:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14709&amp;PID=50849&amp;title=access-violation-in-xtpskinmanagerdestructor#50849</guid>
  </item> 
  <item>
   <title><![CDATA[Access violation in __xtpSkinManagerDestructor : Hi, try maually call RemoveAll()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14709&amp;PID=50839&amp;title=access-violation-in-xtpskinmanagerdestructor#50839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14709<br /><strong>Posted:</strong> 10 July 2009 at 6:26am<br /><br />Hi,<DIV>try maually call RemoveAll() in some ExitInstance of your applcation. and maybe LoadSkin(0, 0);</DIV>]]>
   </description>
   <pubDate>Fri, 10 Jul 2009 06:26:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14709&amp;PID=50839&amp;title=access-violation-in-xtpskinmanagerdestructor#50839</guid>
  </item> 
  <item>
   <title><![CDATA[Access violation in __xtpSkinManagerDestructor : XtremeToolkit Pro MFC V13.0.0 VS2008...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14709&amp;PID=50802&amp;title=access-violation-in-xtpskinmanagerdestructor#50802</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5369">Jerry3</a><br /><strong>Subject:</strong> 14709<br /><strong>Posted:</strong> 09 July 2009 at 2:59am<br /><br />XtremeToolkit Pro MFC V13.0.0<br />VS2008 SP1<br /><br />Everything works fine before I add a 3rd ActiveX Control into my project.(<a href="http://www.angelfire.com/falc&#111;n/babarnazmi/iaxclient/iaxclientocx.htm" target="_blank">http://www.angelfire.com/falcon/babarnazmi/iaxclient/iaxclientocx.htm</a>)<br /><br />It will crash with an access violation exception when the program exiting.<br /><br />The stack trace is:<br /><br />CWnd::SetWindowRgn(HRGN__ * hRgn=0x00000000, int bRedraw=0x00000001)  Line 110 + 0x40 bytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C++<br />CXTPSkinObjectFrame::OnHookDetached(int bAuto=0x00000000)  Line 313&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C++<br />CXTPSkinObject::UnattachHook(int bAuto=0x00000000)  Line 139 + 0x16 bytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C++<br />CXTPSkinManager::RemoveAll(int bUnattach=0x00000001)  Line 639&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C++<br />CXTPSkinManager::~CXTPSkinManager()  Line 387&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C++<br />CXTPSkinManager::`scalar deleting destructor'()  + 0x2b bytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C++<br />CXTPSkinManager::CDestructor::~CDestructor()  Line 610 + 0x36 bytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C++<br />`dynamic atexit destructor for '__xtpSkinManagerDestructor''()  + 0x28 bytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C++<br />doexit(int code=0x00000000, int quick=0x00000000, int retcaller=0x00000000)  Line 591&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C<br /><br /><br />It seems that there is something wrong in the SkinManager when doing cleaning up, restore the windows procedure , <br /><br />Thanks for any advice.<br />]]>
   </description>
   <pubDate>Thu, 09 Jul 2009 02:59:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14709&amp;PID=50802&amp;title=access-violation-in-xtpskinmanagerdestructor#50802</guid>
  </item> 
 </channel>
</rss>