<?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 : Custom Data provider question</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Custom Data provider question]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 14:28:40 +0000</pubDate>
  <lastBuildDate>Mon, 09 Jul 2007 07:50:37 +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=7524</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[Custom Data provider question : It&amp;#039;s a evaluation, so i cant...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24322&amp;title=custom-data-provider-question#24322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2221">nemanjas</a><br /><strong>Subject:</strong> 7524<br /><strong>Posted:</strong> 09 July 2007 at 7:50am<br /><br />It's a evaluation, so i cant see whats asserting...<br><br>Anyways, if i return empty items array on DoRetrieveDayEvents, control is working ok, so there must be something wrong in the way i'm creating events?<br><br>If I manually create event and event list, control asserts.<br><br>This is what i have in current event handler:<br><br>CLProvider::DoRetrieveDayEvents(COleDateTime dtDay)<br>{<br>&nbsp;&nbsp;&nbsp; InternalAddRef();<br><br>&nbsp;&nbsp;&nbsp; CXTPCalendarEventPtr pItem = CreateNewEvent(12345);<br><br>&nbsp;&nbsp;&nbsp; pItem-&gt;SetSubject("Subject");<br>&nbsp;&nbsp;&nbsp; pItem-&gt;SetStartTime(COleDateTime::GetCurrentTime());<br>&nbsp;&nbsp;&nbsp; pItem-&gt;SetEndTime(COleDateTime::GetCurrentTime());<br><br>&nbsp;&nbsp;&nbsp; CXTPCalendarEventsPtr pItems = new CXTPCalendarEvents;<br>&nbsp;&nbsp;&nbsp; pItems-&gt;Add(pItem);<br><br>&nbsp;&nbsp;&nbsp; InternalRelease();<br>&nbsp;&nbsp;&nbsp; return pItems;<br>}<br><br>Can you see anything wrong with it?<br><br>Another thing, could you post what line 1543 from xtpcalendarviewday.h looks like?<br><br>Thanks, Nemanja<br>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 07:50:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24322&amp;title=custom-data-provider-question#24322</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Data provider question : Well... Which version do you use?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24267&amp;title=custom-data-provider-question#24267</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 7524<br /><strong>Posted:</strong> 06 July 2007 at 3:23pm<br /><br />Well... <br>Which version do you use? Is it an eval version or registered?<br><br>If you have toolkit sources - try to debug it to see where the problem is (press Retry in ASSERT dialog).<br>&nbsp;<br>In any case try to localize a problem using following tricks:<br>-- do not return (add to collection) events in DoRetrieveDayEvents.&nbsp; Is it working OK?<br>-- create one or 2 events manually and return them from DoRetrieveDayEvents. Is it working OK?<br>-- check your code which create events. Trace created events (at least start/end date-times)<br>-- check whether you work carefully with InternalAddRef / InternalRelease<br>&nbsp;<br>If you will have no success - send us your project to analize a code into support area.<br><br>--<br>WBR,<br>Serge <br>]]>
   </description>
   <pubDate>Fri, 06 Jul 2007 15:23:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24267&amp;title=custom-data-provider-question#24267</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Data provider question : Forum ate my screenshot link :...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24215&amp;title=custom-data-provider-question#24215</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2221">nemanjas</a><br /><strong>Subject:</strong> 7524<br /><strong>Posted:</strong> 05 July 2007 at 7:54am<br /><br />Forum ate my screenshot link :)<br>http://img381.imageshack.us/img381/5083/codejockeylq7.jpg<br>]]>
   </description>
   <pubDate>Thu, 05 Jul 2007 07:54:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24215&amp;title=custom-data-provider-question#24215</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Data provider question : Thank, but as you can see, i&amp;#039;ve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24214&amp;title=custom-data-provider-question#24214</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2221">nemanjas</a><br /><strong>Subject:</strong> 7524<br /><strong>Posted:</strong> 05 July 2007 at 7:44am<br /><br />Thank, but as you can see, i've implemented Do<b>RetrieveDayEvents</b> handler. <br><br>Problem is that Calendar control crashes, its not empty as that article is saying. <br><br>My implementation DoRetrieveDays returns valid CXTPCalendarEventsPtr, with, hopefully, valid data.<br><br>And again, on Populate, control crashes. To be precise it asserts. On line 1543 (check screenshot</a>).<br><br>Thanks, Nemanja.<br>]]>
   </description>
   <pubDate>Thu, 05 Jul 2007 07:44:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24214&amp;title=custom-data-provider-question#24214</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Data provider question : Hi,Take a look at the following...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24191&amp;title=custom-data-provider-question#24191</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 7524<br /><strong>Posted:</strong> 04 July 2007 at 3:58pm<br /><br />Hi,<br><br>Take a look at the following article: <a href=" " target="_blank"> </a><br>It describes ActiveX version, but concepts are same.<br><br>The thing you should note is: <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> With the custom data provider the main thing you should implement is the body of RetrieveDayEvents handler. If it returns empty events collection, the control will always show nothing.</td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 04 Jul 2007 15:58:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24191&amp;title=custom-data-provider-question#24191</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Data provider question : Hi,I&amp;#039;m using MSSQL data provider...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24183&amp;title=custom-data-provider-question#24183</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2221">nemanjas</a><br /><strong>Subject:</strong> 7524<br /><strong>Posted:</strong> 04 July 2007 at 8:25am<br /><br />Hi,<br><br>I'm using MSSQL data provider example as a staring point to make my own provider.<br><br>I've modified open/close/DoRetrieveDayEvents methods, and others are just returning NULLs. Helper method are also modified, and they seem to return valid data.<br><br>Problem is that Calendar control crashes upon executing Populate method. Since i'm just evaluating toolkit, i have no idea what happens inside Populate method and why it crashes? <br><br>Any ideas?<br><br><br>]]>
   </description>
   <pubDate>Wed, 04 Jul 2007 08:25:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7524&amp;PID=24183&amp;title=custom-data-provider-question#24183</guid>
  </item> 
 </channel>
</rss>