<?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 : the XTPResourceManager()-&gt;Close().</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : the XTPResourceManager()-&gt;Close().]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 00:33:28 +0000</pubDate>
  <lastBuildDate>Fri, 18 May 2012 01:58:07 +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=18489</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[the XTPResourceManager()-&gt;Close(). :   I have the same problem.When...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=68275&amp;title=the-xtpresourcemanagerclose#68275</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7236">jintian01</a><br /><strong>Subject:</strong> 18489<br /><strong>Posted:</strong> 18 May 2012 at 1:58am<br /><br />I have the same problem.When the Application exit with Non-Default Languge.<div>TOOLKITPRO1513VC60UD.DLL): 0xC0000005: Access Violation.will be happen.If I'm not&nbsp;<strong>annotation the SetLocale() Function;</strong></div>]]>
   </description>
   <pubDate>Fri, 18 May 2012 01:58:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=68275&amp;title=the-xtpresourcemanagerclose#68275</guid>
  </item> 
  <item>
   <title><![CDATA[the XTPResourceManager()-&gt;Close(). : Hi Oleg,,  Thanks for your prompt...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64776&amp;title=the-xtpresourcemanagerclose#64776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=798">Insad</a><br /><strong>Subject:</strong> 18489<br /><strong>Posted:</strong> 07 June 2011 at 3:46am<br /><br />Hi Oleg,,<DIV>&nbsp;</DIV><DIV>Thanks for your prompt reply.</DIV><DIV>&nbsp;</DIV><DIV>But neither of the cases prevents a GPF from happening so possibly there is something else is failing in the code?</DIV><DIV>&nbsp;</DIV><DIV>Can you help me with this or should I make another thread about it?</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>Insad</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 07 Jun 2011 03:46:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64776&amp;title=the-xtpresourcemanagerclose#64776</guid>
  </item> 
  <item>
   <title><![CDATA[the XTPResourceManager()-&gt;Close(). : both cases are fine. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64744&amp;title=the-xtpresourcemanagerclose#64744</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18489<br /><strong>Posted:</strong> 06 June 2011 at 11:25am<br /><br />&nbsp;both cases are fine.]]>
   </description>
   <pubDate>Mon, 06 Jun 2011 11:25:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64744&amp;title=the-xtpresourcemanagerclose#64744</guid>
  </item> 
  <item>
   <title><![CDATA[the XTPResourceManager()-&gt;Close(). : Hi,   Should I call this in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64741&amp;title=the-xtpresourcemanagerclose#64741</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=798">Insad</a><br /><strong>Subject:</strong> 18489<br /><strong>Posted:</strong> 06 June 2011 at 10:25am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Should I call this in my DLLs as well?</DIV><DIV>&nbsp;</DIV><DIV>And should it be called before or after the call to the ExitInstance of the baseclass?</DIV><DIV>&nbsp;</DIV><DIV>Thus like this:</DIV><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">int CD4WinAppBaseEx::ExitInstance()<BR>{<BR>&nbsp;int iRet = __super::ExitInstance();</FONT></DIV><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">&nbsp;XTPResourceManager()-&gt;Close();</FONT></DIV><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">&nbsp;if (IsApplication()) {<BR>&nbsp;&nbsp;g_strLatestSkinResourcepath.Empty();</FONT></DIV><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;CXTPSkinManager* pSkinMgr = XTPSkinManager();<BR>&nbsp;&nbsp;if (pSkinMgr != NULL &amp;&amp; pSkinMgr-&gt;IsEnabled()) {<BR>&nbsp;&nbsp;&nbsp;TRY {<BR>&nbsp;&nbsp;&nbsp;&nbsp;pSkinMgr-&gt;LoadSkin(NULL, NULL);<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;CATCH_ALL(e) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;ASSERT(FALSE);&nbsp;&nbsp;&nbsp;// Whatever...<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;END_CATCH_ALL;<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;else {<BR>&nbsp;&nbsp;CXTPPaintManager::Done();<BR>&nbsp;&nbsp;XTPImageManager()-&gt;RemoveAll();<BR>&nbsp;}</FONT></DIV><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">&nbsp;return iRet;<BR>}</FONT></DIV><DIV>&nbsp;</DIV><DIV>Or more like this:</DIV><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">int CD4WinAppBaseEx::ExitInstance()<BR>{<BR></FONT><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">&nbsp;XTPResourceManager()-&gt;Close();</FONT></DIV><FONT size=1 face="Arial, Helvetica, sans-serif">&nbsp;int iRet = __super::ExitInstance();</FONT></DIV><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">&nbsp;if (IsApplication()) {<BR>&nbsp;&nbsp;g_strLatestSkinResourcepath.Empty();</FONT></DIV><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;CXTPSkinManager* pSkinMgr = XTPSkinManager();<BR>&nbsp;&nbsp;if (pSkinMgr != NULL &amp;&amp; pSkinMgr-&gt;IsEnabled()) {<BR>&nbsp;&nbsp;&nbsp;TRY {<BR>&nbsp;&nbsp;&nbsp;&nbsp;pSkinMgr-&gt;LoadSkin(NULL, NULL);<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;CATCH_ALL(e) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;ASSERT(FALSE);&nbsp;&nbsp;&nbsp;// Whatever...<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;END_CATCH_ALL;<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;else {<BR>&nbsp;&nbsp;CXTPPaintManager::Done();<BR>&nbsp;&nbsp;XTPImageManager()-&gt;RemoveAll();<BR>&nbsp;}</FONT></DIV><DIV><FONT size=1 face="Arial, Helvetica, sans-serif">&nbsp;return iRet;<BR>}<BR></FONT></DIV><DIV>&nbsp;</DIV><DIV>Or maybe I am doing something else wrong?</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>Insad</DIV>]]>
   </description>
   <pubDate>Mon, 06 Jun 2011 10:25:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64741&amp;title=the-xtpresourcemanagerclose#64741</guid>
  </item> 
  <item>
   <title><![CDATA[the XTPResourceManager()-&gt;Close(). : yes, recommended call it on exit....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64729&amp;title=the-xtpresourcemanagerclose#64729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18489<br /><strong>Posted:</strong> 06 June 2011 at 6:45am<br /><br />yes, recommended call it on exit. maybe better in ExitInstance of your application.]]>
   </description>
   <pubDate>Mon, 06 Jun 2011 06:45:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64729&amp;title=the-xtpresourcemanagerclose#64729</guid>
  </item> 
  <item>
   <title><![CDATA[the XTPResourceManager()-&gt;Close(). : I run into random access violation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64713&amp;title=the-xtpresourcemanagerclose#64713</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6698">roninda</a><br /><strong>Subject:</strong> 18489<br /><strong>Posted:</strong> 03 June 2011 at 8:42am<br /><br />I run into random access violation when my app exit.<br />After lots of debug,<br />i add the <br />XTPResourceManager()-&gt;Close() in the CMainframe::Close()<br />and everything is ok.<br /><br /><br />But i don't know why i should do this.....<br /><br />And so on , i use a lot external resource file .. Is this the reason?]]>
   </description>
   <pubDate>Fri, 03 Jun 2011 08:42:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18489&amp;PID=64713&amp;title=the-xtpresourcemanagerclose#64713</guid>
  </item> 
 </channel>
</rss>