<?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] Flowgraph GDI Object Leak 17.2</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : [solved] Flowgraph GDI Object Leak 17.2]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 14:20:53 +0000</pubDate>
  <lastBuildDate>Tue, 07 Mar 2017 15:28:09 +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=23113</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] Flowgraph GDI Object Leak 17.2 : Hello Doug Heimer,Thank you for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23113&amp;PID=75606&amp;title=solved-flowgraph-gdi-object-leak-17-2#75606</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23113<br /><strong>Posted:</strong> 07 March 2017 at 3:28pm<br /><br />Hello Doug Heimer,<br><br>Thank you for bringing this to our attention.<br>I'm glad to inform you that the leak have been fixed and the fix will be available in next beta or final release.<br><br><table width="99%"><tr><td><pre class="BBcode"><div style="display: inline !imant;">void CXTPFlowGraphPage::SetVisibleNodesWindowsRegions()</div><div>{</div><div>&nbsp; &nbsp; ......</div><div><br></div><div>&nbsp; &nbsp; if (bAtLeastOneWindowNode) // for optimization purposes</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ......</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; for (i=0; i&lt;nodesWindowVisibleRegions.GetSize(); i++)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (allNodes&#091; i&#093;-&gt;GetWindowHandle())</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .....</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetWindowRgn(allNodes&#091; i&#093;-&gt;GetWindowHandle(), nodesWindowVisibleRegions&#091; i&#093;, TRUE);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <b><font color="#cc0000">//DeleteObject(nodesWindowVisibleRegions&#091; i&#093;); // free-up resources</font></b></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color="#00cc00"><b>DeleteObject(nodesWindowVisibleRegions&#091; i&#093;); // free-up resources</b></font></div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div style="display: inline !imant;">}</div></pre></td></tr></table><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Tue, 07 Mar 2017 15:28:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23113&amp;PID=75606&amp;title=solved-flowgraph-gdi-object-leak-17-2#75606</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Flowgraph GDI Object Leak 17.2 :  CXTPFlowGraphPage::SetVisibl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23113&amp;PID=75032&amp;title=solved-flowgraph-gdi-object-leak-17-2#75032</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9074">doug.heimer</a><br /><strong>Subject:</strong> 23113<br /><strong>Posted:</strong> 31 August 2016 at 1:24pm<br /><br /><span style="font-size:9.5pt;font-family:C&#111;nsolas;&amp;#10;mso-bidi-font-family:C&#111;nsolas;color:blue"><div><p style="margin: 0in 0in 0pt;"><span style="font-size:9.5pt;font-family:C&#111;nsolas;&amp;#10;mso-bidi-font-family:C&#111;nsolas;color:blue">CXTPFlowGraphPage::</span><span style="font-size:9.5pt;font-family:C&#111;nsolas;mso-bidi-font-family:C&#111;nsolas;&amp;#10;color:#880000">SetVisibleNodesWindowsRegions()</span></p></div></span><div><br></div><p style="margin: 0in 0in 0pt;"><span style="font-size:9.5pt;font-family:C&#111;nsolas;&amp;#10;mso-bidi-font-family:C&#111;nsolas;color:black">&nbsp;</span></p><p style="margin: 0in 0in 0pt;"><span style="font-size:9.5pt;font-family:C&#111;nsolas;&amp;#10;mso-bidi-font-family:C&#111;nsolas;color:black">GDB Object Leak</span></p><p style="margin: 0in 0in 0pt;"><span style="font-size:9.5pt;font-family:C&#111;nsolas;&amp;#10;mso-bidi-font-family:C&#111;nsolas;color:black">&nbsp;</span></p><p style="margin: 0in 0in 0pt;"><span style="font-size:9.5pt;font-family:C&#111;nsolas;&amp;#10;mso-bidi-font-family:C&#111;nsolas;color:black"><span style="mso-tab-count:1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:9.5pt;font-family:C&#111;nsolas;mso-bidi-font-family:C&#111;nsolas;&amp;#10;color:#880000">SetVisibleNodesWindowsRegions </span></span><span style="font-size:9.5pt;font-family:C&#111;nsolas;mso-bidi-font-family:C&#111;nsolas;&amp;#10;color:#A000A0">uses an optimization to perform rect region culling for child windows if any nodes the graph contain child windows exist.&nbsp; In doing this, it calls CreateRectRgn for every node, regardless of whether that node has a child window.&nbsp; However, only nodes with child windows have these regions released.&nbsp; The rest leak.</span></p><div><br></div><div><font color="rgb160,0,160" face="C&#111;nsolas">Thanks, </font></div><div><font color="rgb160,0,160" face="C&#111;nsolas">Doug Heimer</font></div><span style="font-size:9.5pt;font-family:C&#111;nsolas;mso-bidi-font-family:C&#111;nsolas;&amp;#10;color:#A000A0"><div><br></div><p style="margin: 0in 0in 0pt;"><br></p></span>]]>
   </description>
   <pubDate>Wed, 31 Aug 2016 13:24:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23113&amp;PID=75032&amp;title=solved-flowgraph-gdi-object-leak-17-2#75032</guid>
  </item> 
 </channel>
</rss>