<?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 : [Bug]ReportAddRecordEx bug (with repro steps)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [Bug]ReportAddRecordEx bug (with repro steps)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 18 May 2026 00:06:44 +0000</pubDate>
  <lastBuildDate>Fri, 03 Jul 2009 20:56:22 +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=14135</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[[Bug]ReportAddRecordEx bug (with repro steps) : This is not 13.1 Core error -...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14135&amp;PID=50650&amp;title=bugreportaddrecordex-bug-with-repro-steps#50650</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14135<br /><strong>Posted:</strong> 03 July 2009 at 8:56pm<br /><br />This is not 13.1 Core error - this is Sample error - not checked pointer. Coming from old time. Thanks for post. <FONT size=2><P>BOOL CReportControl::OnFocusChanging(CXTPReportRow* pNewRow, CXTPReportColumn* pNewCol) {</P><DIV><FONT color=#ff0000>&nbsp;//it was no checking for pNewRow = NULL !!!</FONT></DIV><DIV>&nbsp;</DIV><DIV>CXTPReportControl::OnFocusChanging(pNewRow, pNewCol);</DIV><P></FONT><FONT color=#008000 size=2>// apply changes</P></FONT><FONT size=2><P>CXTPReportRow* pFocusedRow = GetFocusedRow();</P><DIV></FONT><FONT color=#0000ff size=2>if </FONT><FONT size=2>(pFocusedRow &amp;&amp; pFocusedRow-&gt;GetType() == xtpRowTypeHeader &amp;&amp; </FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT color=#ff0000>pNewRow &amp;&amp; </FONT>pNewRow != GetFocusedRow() &amp;&amp; m_pFocusedRecord &amp;&amp; pNewRow-&gt;GetType() != xtpRowTypeHeader)</DIV><P>*(CMessageRecord*)m_pFocusedRecord = *(CMessageRecord*)pFocusedRow-&gt;GetRecord();</P><P>UpdateRecord(m_pFocusedRecord, FALSE);</P><P>}</P><DIV></DIV><P>Now it works properly. Sample source in SVN updated</P><P></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 03 Jul 2009 20:56:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14135&amp;PID=50650&amp;title=bugreportaddrecordex-bug-with-repro-steps#50650</guid>
  </item> 
  <item>
   <title><![CDATA[[Bug]ReportAddRecordEx bug (with repro steps) : This bug is still in the version...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14135&amp;PID=50567&amp;title=bugreportaddrecordex-bug-with-repro-steps#50567</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5151">apautrot</a><br /><strong>Subject:</strong> 14135<br /><strong>Posted:</strong> 02 July 2009 at 4:02am<br /><br />This bug is still in the version 13.1.<br /><br />At least, you should reply to people trying to help you finding bugs. Are you only interested in the money I spent buying your products ?]]>
   </description>
   <pubDate>Thu, 02 Jul 2009 04:02:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14135&amp;PID=50567&amp;title=bugreportaddrecordex-bug-with-repro-steps#50567</guid>
  </item> 
  <item>
   <title><![CDATA[[Bug]ReportAddRecordEx bug (with repro steps) : Launch the ReportAddRecordEx sample,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14135&amp;PID=48327&amp;title=bugreportaddrecordex-bug-with-repro-steps#48327</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5151">apautrot</a><br /><strong>Subject:</strong> 14135<br /><strong>Posted:</strong> 24 April 2009 at 10:44am<br /><br />Launch the ReportAddRecordEx sample, click on "Add records" button. Wait for all the items to be added. <br /><br />Select the first row which display text "Column 1: Row - 1, Col - 1"). This row is now displayed in the header rows section. <br /><br />Click any cell of this header row, then click on another one.<br /><br />This produce a NULL pointer access in the method CReportControl::OnFocusChanging, its first parameter pNewRow being NULL.]]>
   </description>
   <pubDate>Fri, 24 Apr 2009 10:44:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14135&amp;PID=48327&amp;title=bugreportaddrecordex-bug-with-repro-steps#48327</guid>
  </item> 
 </channel>
</rss>