<?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 : CXTPCalendarEvents::RemoveAll making my app crash</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : CXTPCalendarEvents::RemoveAll making my app crash]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 12:45:19 +0000</pubDate>
  <lastBuildDate>Tue, 08 Apr 2008 12:50: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=10124</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[CXTPCalendarEvents::RemoveAll making my app crash : CXTPCalendarEvent *p = cEvents-&amp;gt;GetAt(i,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10124&amp;PID=33323&amp;title=cxtpcalendareventsremoveall-making-my-app-crash#33323</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3970">mass</a><br /><strong>Subject:</strong> 10124<br /><strong>Posted:</strong> 08 April 2008 at 12:50pm<br /><br />CXTPCalendarEvent *p = cEvents-&gt;GetAt(i, TRUE); <br />this made my app work properly... I still dont know what InternadAddRef  does but it works.]]>
   </description>
   <pubDate>Tue, 08 Apr 2008 12:50:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10124&amp;PID=33323&amp;title=cxtpcalendareventsremoveall-making-my-app-crash#33323</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCalendarEvents::RemoveAll making my app crash : CXTPCalendarEventsPtr cEvents...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10124&amp;PID=33226&amp;title=cxtpcalendareventsremoveall-making-my-app-crash#33226</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3970">mass</a><br /><strong>Subject:</strong> 10124<br /><strong>Posted:</strong> 07 April 2008 at 7:13am<br /><br />CXTPCalendarEventsPtr cEvents = GetDataProvider()-&gt;RetrieveDayEvents(COleDateTime::GetCurrentTime());<br />for (int i = 0; i &lt; cEvents-&gt;GetCount(); i++)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTPCalendarEvent *p = cEvents-&gt;GetAt(i);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//here I copy the usefull data for me (subject, end and start time in my class with .GetSubject .GetStartTime .GetEndTime<br />}<br />cEvents-&gt;RemoveAll();<br /><br />the RemoveAll member produces a unhandled exeption and makes the program crash... If i comment the line the program crashes when the program finishes (when CXTPCalendarEvents destructor is invoked).. Is there any way to solve this?<br />thx ]]>
   </description>
   <pubDate>Mon, 07 Apr 2008 07:13:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10124&amp;PID=33226&amp;title=cxtpcalendareventsremoveall-making-my-app-crash#33226</guid>
  </item> 
 </channel>
</rss>