<?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 : CXTPCalendarCustomProperties</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : CXTPCalendarCustomProperties]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 13:55:17 +0000</pubDate>
  <lastBuildDate>Wed, 16 Apr 2008 17:29:36 +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=10262</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[CXTPCalendarCustomProperties : Solved:I isolated the problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10262&amp;PID=33779&amp;title=cxtpcalendarcustomproperties#33779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 10262<br /><strong>Posted:</strong> 16 April 2008 at 5:29pm<br /><br />Solved:<br><br>I isolated the problem to the CustomPropertiesXMLData data field in my mssql database where I try to retrieve the properties in ptrEvent-&gt;GetCustomProperties();<br><br>CustomPropertiesXMLData was set as nText data type. Whenever it tried to load that to _bstr_t it failed. I changed the field definition type to nvarchar(255) and now it reads the data fine and loads up the key map properly.<br><br>I really don't know why _bstr_t cannot "read" nText but that was the cause of the problem.<br><br>If anyone knows why please let me know as I am most curious as to the reason it fails. I probably just don't know enough about _bstr_t limitations.<br><br>Hope this info comes in handy to anyone else who's experienced this problem.<br><br>]]>
   </description>
   <pubDate>Wed, 16 Apr 2008 17:29:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10262&amp;PID=33779&amp;title=cxtpcalendarcustomproperties#33779</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCalendarCustomProperties : Hello,With version 10.42 I have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10262&amp;PID=33775&amp;title=cxtpcalendarcustomproperties#33775</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 10262<br /><strong>Posted:</strong> 16 April 2008 at 3:57pm<br /><br />Hello,<br><br>With version 10.42 I have tried using the CXTPCalendarCustomProperties portion of the Calendar system. It seems to have a problem or I'm not using it properly. <br><br>I am able to successfully SetProperty and GetProperty from the data record during one program execution. The problem is that the property "name" is not reloaded to m_mapProperties when you start the program again. The records contain the data and keys but you cannot reach them because the "key" is no longer in the map. Thus:<br><br>in XTPCalendarCustomProperties.cpp:<br><br>BOOL CXTPCalendarCustomProperties::GetProperty(LPCTSTR pcszName, COleVariant&amp; rVarValue) const<br>{<br>&nbsp;&nbsp;&nbsp; return m_mapProperties.Lookup(PrepareName(pcszName), rVarValue);<br>}<br><br>fails every time since the name is not loaded to m_mapProperties. It is not added to the map again until you do a SetProperty();<br><br>Is there a mechanism to set and load custom property keys to m_mapProperties that I'm overlooking?<br><br>Thank you in advance for any help you can provide.<br><br><br>]]>
   </description>
   <pubDate>Wed, 16 Apr 2008 15:57:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10262&amp;PID=33775&amp;title=cxtpcalendarcustomproperties#33775</guid>
  </item> 
 </channel>
</rss>