<?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 : ApplyToCalendar /  SetMultipleResources(Ex)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : ApplyToCalendar /  SetMultipleResources(Ex)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 19:59:25 +0000</pubDate>
  <lastBuildDate>Sun, 08 Feb 2009 21:40:02 +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=13289</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[ApplyToCalendar /  SetMultipleResources(Ex) : hi,  ok i got it: i use &amp;#034;wrong&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13289&amp;PID=45199&amp;title=applytocalendar-setmultipleresourcesex#45199</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4822">Auge_Ohr</a><br /><strong>Subject:</strong> 13289<br /><strong>Posted:</strong> 08 February 2009 at 9:40pm<br /><br />hi,<br /><br />ok i got it: i use "wrong" Compiler :(<br /><br />i was able to "translate" my Xbase++ into "other" X-Base Compiler and same Code run !<br /><br />i was afraid of Xbase++ activeX Support and now i found that BUG !<br /><br />Question to Codejock Support : Does Calender use IDispatch Interface or some "other" ?<br /><br />with both X Compiler we did have Probem with Event send by Calender.<br /><br />we must CreateObject() "all" in Main, use a Thread as Container for CJ Calender OCX<br />and pass CreateObject() to Thread<br /><br />than MapEvent() / subscribeEvent() will recive it in Main Eventloop so we can react on it... but sometimes ... if someone have a Idee how to debug "where" a CalenderEvent are going to ?]]>
   </description>
   <pubDate>Sun, 08 Feb 2009 21:40:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13289&amp;PID=45199&amp;title=applytocalendar-setmultipleresourcesex#45199</guid>
  </item> 
  <item>
   <title><![CDATA[ApplyToCalendar /  SetMultipleResources(Ex) : hi,  perhaps my Question is not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13289&amp;PID=45037&amp;title=applytocalendar-setmultipleresourcesex#45037</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4822">Auge_Ohr</a><br /><strong>Subject:</strong> 13289<br /><strong>Posted:</strong> 30 January 2009 at 5:40pm<br /><br />hi,<br /><br />perhaps my Question is not clear so here a (Xbase++) Sample<br /><br />&nbsp;&nbsp;&nbsp;oTest  := CalendarControl:MultipleResources()  // "ICalendarResources"<br />&nbsp;&nbsp;&nbsp;nCount := oTest:Count()<br />&nbsp;&nbsp;&nbsp;IF nCount &gt; 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalendarControl:SetMultipleResources( oTest ) // WORKS<br />&nbsp;&nbsp;&nbsp;ENDIF<br /><br />&nbsp;&nbsp;&nbsp;// "ICalendarResources"<br />&nbsp;&nbsp;&nbsp;arResources := CreateObject( "Codejock.CalendarResources.12.1.1" )<br /> ...<br />&nbsp;&nbsp;&nbsp;arResources:Add( pRes0 )&nbsp;&nbsp;&nbsp;// pRes0 is a "ICalendarResource"<br />&nbsp;&nbsp;&nbsp;arResources:Add( pRes1 )&nbsp;&nbsp;&nbsp;// pRes1 is a "ICalendarResource"<br /><br />&nbsp;&nbsp;&nbsp;nCount := arResources:Count()<br />&nbsp;&nbsp;&nbsp;IF nCount &gt; 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CalendarControl:SetMultipleResources( arResources ) // -&gt; CRASH<br />&nbsp;&nbsp;&nbsp;ENDIF<br /><br />pRes0 and pRes1 are "filled" in ...<br /><br />Question : Why does "oTest" work but "arResources" crash with a "Typekonflikt" or "wrong Parameter" ?<br /><br />-&gt; VALTYPE: C VALUE: SetMultipleResources<br />-&gt; VALTYPE: O CLASS: AutomationObject<br /><br />]]>
   </description>
   <pubDate>Fri, 30 Jan 2009 17:40:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13289&amp;PID=45037&amp;title=applytocalendar-setmultipleresourcesex#45037</guid>
  </item> 
  <item>
   <title><![CDATA[ApplyToCalendar /  SetMultipleResources(Ex) : hi,  i try to use multi Resources...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13289&amp;PID=45018&amp;title=applytocalendar-setmultipleresourcesex#45018</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4822">Auge_Ohr</a><br /><strong>Subject:</strong> 13289<br /><strong>Posted:</strong> 30 January 2009 at 1:16am<br /><br />hi,<br /><br />i try to use multi Resources but i fail at ApplyToCalendar /  SetMultipleResources(Ex)<br /><br />g_DataResourcesMan := CreateObject( "Codejock.CalendarResourcesManager.12.1.1")<br />arResources := CreateObject( "Codejock.CalendarResources.12.1.1" )<br />pRes0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:= CreateObject( "Codejock.CalendarResource.12.1.1"  )<br />pRes1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:= CreateObject( "Codejock.CalendarResource.12.1.1"  )<br />...<br />g_DataResourcesMan:ApplyToCalendar(CalendarControl) -&gt; <strong>crash</strong><br /><br /><br />arResources := CreateObject( "Codejock.CalendarResources.12.1.1" )<br />...<br />CalendarControl:SetMultipleResources(arResources) -&gt; <strong>crash</strong><br /><br />all Code between seems to work fine ... until i reach that Point<br /><br />Question : <br />for arResources i got Type "AutomationObject", is it a Array or "Object" ?<br /><br />for CalendarControl i got "ActiveXControl", must i use the "Pointer" to the ActiveX ?<br /><br />OS() XP<br />Xbase++ v1.9.350 Code]]>
   </description>
   <pubDate>Fri, 30 Jan 2009 01:16:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13289&amp;PID=45018&amp;title=applytocalendar-setmultipleresourcesex#45018</guid>
  </item> 
 </channel>
</rss>