<?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 : Damage : &#111;n client block during Remove..</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Damage : &#111;n client block during Remove..]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 11:19:32 +0000</pubDate>
  <lastBuildDate>Wed, 27 Jul 2005 03:55: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=2613</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[Damage : &#111;n client block during Remove.. : i realized what the problem was...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7871&amp;title=damage-on-client-block-during-remove#7871</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1334">roberto</a><br /><strong>Subject:</strong> 2613<br /><strong>Posted:</strong> 27 July 2005 at 3:55am<br /><br /><P>i realized what the problem was ...</P><P>on project properties there was a non standard option checked: </P><P>in c++ / code generation / struct member alignment - there was 1 byte (zp1) instead of Default..</P><P>i lost three days around that trivial thing, damn...</P><P>thank you guys anyway for your suggestions...</P>]]>
   </description>
   <pubDate>Wed, 27 Jul 2005 03:55:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7871&amp;title=damage-on-client-block-during-remove#7871</guid>
  </item> 
  <item>
   <title><![CDATA[Damage : &#111;n client block during Remove.. : All seems ok... one thing can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7809&amp;title=damage-on-client-block-during-remove#7809</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2613<br /><strong>Posted:</strong> 22 July 2005 at 11:09am<br /><br /><P>All seems ok... one thing can be problem.</P><P>try to replace</P><P>&nbsp;m_PropertyGrid.Create( CRect(0,0,0,0), AfxGetMainWnd(), 0);</P><P>to</P><P>&nbsp;m_PropertyGrid.Create( CRect(0,0,0,0), this, 0);</P><P>&nbsp;</P><P>because AfxGetMainWnd() will return NULL in CMainFrame::OnCreate..</P><P>&nbsp;</P><P>May be you can isolate the problem with new sample and attach it here?</P>]]>
   </description>
   <pubDate>Fri, 22 Jul 2005 11:09:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7809&amp;title=damage-on-client-block-during-remove#7809</guid>
  </item> 
  <item>
   <title><![CDATA[Damage : &#111;n client block during Remove.. : Hi, Using DCRT libraries and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7801&amp;title=damage-on-client-block-during-remove#7801</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1334">roberto</a><br /><strong>Subject:</strong> 2613<br /><strong>Posted:</strong> 22 July 2005 at 3:57am<br /><br /><P>Hi,</P><P>Using DCRT libraries and performing some memory checks</P><P>( &nbsp;&nbsp;&nbsp; // Turn on the full heap checking<BR>&nbsp;&nbsp;&nbsp; _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  _CRTDBG_CHECK_ALWAYS_DF&nbsp;&nbsp;&nbsp; |<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  _CRTDBG_DELAY_FREE_MEM_DF&nbsp; |<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  _CRTDBG_LEAK_CHECK_DF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) ;</P><P>, i realized that the problem comes when allocating a propertygriditem :</P><P><BR>int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)<BR>{</P><P><BR>&nbsp;&nbsp;// gas tt<BR>&nbsp;ASSERT ( _CrtCheckMemory ( ) ) ; </P><P>&nbsp;// ********************* Main Frame<BR>&nbsp;if (CMDIFrameWnd::OnCreate(lpCreateStruct) == -1)<BR>&nbsp;{<BR>&nbsp;&nbsp;TRACE("Failed to create FrameWindow\r\n");<BR>&nbsp;&nbsp;return -1;<BR>&nbsp;}<BR>&nbsp;m_PropertyGrid.Create( CRect(0,0,0,0), AfxGetMainWnd(), 0);<BR>&nbsp;CXTPPropertyGridItem* pFisse = m_PropertyGrid.AddCategory(_T("cat"));<BR>&nbsp;&nbsp;// gas tt<BR>&nbsp;ASSERT ( _CrtCheckMemory ( ) ) ;&nbsp; &lt;---- everything ok at this point</P><P>&nbsp;CXTPPropertyGridItem* child = new CXTPPropertyGridItem(_T("key"),_T("val")); &lt;-- _CrtCheckMemory ( ) complains here !!<BR>&nbsp;pFisse-&gt;AddChildItem(child);<BR>&nbsp;child-&gt;Remove();</P><P>&nbsp;</P><P>Any idea about what causes this problem?</P><P>thanx in advance</P>]]>
   </description>
   <pubDate>Fri, 22 Jul 2005 03:57:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7801&amp;title=damage-on-client-block-during-remove#7801</guid>
  </item> 
  <item>
   <title><![CDATA[Damage : &#111;n client block during Remove.. : Hello, roberto Hmm... may be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7794&amp;title=damage-on-client-block-during-remove#7794</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2613<br /><strong>Posted:</strong> 21 July 2005 at 11:26pm<br /><br /><P>Hello, roberto</P><P>Hmm... may be you can sent backtrace log to see?</P>]]>
   </description>
   <pubDate>Thu, 21 Jul 2005 23:26:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7794&amp;title=damage-on-client-block-during-remove#7794</guid>
  </item> 
  <item>
   <title><![CDATA[Damage : &#111;n client block during Remove.. : Hi all, i&amp;#039;ve experienced...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7781&amp;title=damage-on-client-block-during-remove#7781</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1334">roberto</a><br /><strong>Subject:</strong> 2613<br /><strong>Posted:</strong> 21 July 2005 at 9:17am<br /><br /><P>Hi all,</P><P>i've experienced some problems with PropertyGrid, more precisely i get an exception from the debugger when trying to call Remove from a PropertygridItem object... i looked at the samples and the same code has no problem there... is there any precaution i should take before removing items in a propertygrid ? thanks</P><P>&nbsp;</P><span style="font-size:10px"><br /><br />Edited by roberto</span>]]>
   </description>
   <pubDate>Thu, 21 Jul 2005 09:17:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2613&amp;PID=7781&amp;title=damage-on-client-block-during-remove#7781</guid>
  </item> 
 </channel>
</rss>