<?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 : Suggestion: re image managers</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Suggestion: re image managers]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 12:15:20 +0000</pubDate>
  <lastBuildDate>Thu, 09 Apr 2009 06:48:21 +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=13956</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[Suggestion: re image managers : thanks I&amp;#039;ll try that. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13956&amp;PID=47722&amp;title=suggestion-re-image-managers#47722</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13956<br /><strong>Posted:</strong> 09 April 2009 at 6:48am<br /><br />thanks I'll try that.]]>
   </description>
   <pubDate>Thu, 09 Apr 2009 06:48:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13956&amp;PID=47722&amp;title=suggestion-re-image-managers#47722</guid>
  </item> 
  <item>
   <title><![CDATA[Suggestion: re image managers : Hi,  Just call XTPImageManager()-&amp;gt;InternalAddRef()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13956&amp;PID=47714&amp;title=suggestion-re-image-managers#47714</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13956<br /><strong>Posted:</strong> 09 April 2009 at 3:37am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Just call XTPImageManager()-&gt;InternalAddRef() after such operations.</DIV>]]>
   </description>
   <pubDate>Thu, 09 Apr 2009 03:37:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13956&amp;PID=47714&amp;title=suggestion-re-image-managers#47714</guid>
  </item> 
  <item>
   <title><![CDATA[Suggestion: re image managers : if you ever pass in the result...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13956&amp;PID=47702&amp;title=suggestion-re-image-managers#47702</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13956<br /><strong>Posted:</strong> 08 April 2009 at 10:34pm<br /><br /><DIV></DIV>if you ever pass in the result of XTPImageManager() to a SetImageManager function, things will blow up.<DIV>&nbsp;</DIV><DIV>This is because things like report controls will insist on trying to delete whatever pointer it was given.</DIV><DIV>&nbsp;</DIV><DIV>There are a couple of ways around this, but the most simple one would be:</DIV><DIV>&nbsp;</DIV><DIV>override InternalRelease for CXTPImageManager, check an internal variable (m_bDeleteOnClose), and if it's false, don't delete it.</DIV><DIV>&nbsp;</DIV><DIV>Add a constructor for CXTPImageManager so that you can construct a static one and set the variable to false.</DIV><DIV>&nbsp;</DIV><DIV>Then it's safe to call InternalRelease on the image manager returned from XTPImageManager(), and therefore you can use this in your controls without having to copy and maintain synch with the global one all the time.</DIV>]]>
   </description>
   <pubDate>Wed, 08 Apr 2009 22:34:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13956&amp;PID=47702&amp;title=suggestion-re-image-managers#47702</guid>
  </item> 
 </channel>
</rss>