<?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 : SetFirstDayOfWeek ASSERTs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : SetFirstDayOfWeek ASSERTs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 12:02:19 +0000</pubDate>
  <lastBuildDate>Mon, 08 Dec 2008 16:05:50 +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=12039</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[SetFirstDayOfWeek ASSERTs : This bug is still in 12.1.1 Right...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12039&amp;PID=43486&amp;title=setfirstdayofweek-asserts#43486</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 12039<br /><strong>Posted:</strong> 08 December 2008 at 4:05pm<br /><br />This bug is still in 12.1.1&nbsp;<img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" align="absmiddle"> Right in the calendar sample - select Friday, for example as your starting day of the week and see the assert...]]>
   </description>
   <pubDate>Mon, 08 Dec 2008 16:05:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12039&amp;PID=43486&amp;title=setfirstdayofweek-asserts#43486</guid>
  </item> 
  <item>
   <title><![CDATA[SetFirstDayOfWeek ASSERTs : It&amp;#039;s in your sample - CalendarDemo....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12039&amp;PID=40779&amp;title=setfirstdayofweek-asserts#40779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 12039<br /><strong>Posted:</strong> 08 September 2008 at 4:16am<br /><br />It's in your sample - CalendarDemo. Just set the view to week view and select starting day as Saturday.]]>
   </description>
   <pubDate>Mon, 08 Sep 2008 04:16:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12039&amp;PID=40779&amp;title=setfirstdayofweek-asserts#40779</guid>
  </item> 
  <item>
   <title><![CDATA[SetFirstDayOfWeek ASSERTs : Hi, How do you use SetFirstDayOfWeek...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12039&amp;PID=40760&amp;title=setfirstdayofweek-asserts#40760</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12039<br /><strong>Posted:</strong> 08 September 2008 at 3:28am<br /><br />Hi,<DIV>How do you use SetFirstDayOfWeek ?</DIV>]]>
   </description>
   <pubDate>Mon, 08 Sep 2008 03:28:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12039&amp;PID=40760&amp;title=setfirstdayofweek-asserts#40760</guid>
  </item> 
  <item>
   <title><![CDATA[SetFirstDayOfWeek ASSERTs : When I try to use the SetFirstDayOfWeek...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12039&amp;PID=40643&amp;title=setfirstdayofweek-asserts#40643</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 12039<br /><strong>Posted:</strong> 01 September 2008 at 10:05am<br /><br />When I try to use the SetFirstDayOfWeek it asserts on me - it does this in the sample provided as well (Calendar Demo). I've got v12.0.1. The assert is here:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>AFX_INLINE int CXTPCalendarUtils::GetDayOfWeekIndex(int nDayOfWeekMask) {<br>&nbsp;&nbsp;&nbsp; for (int i = 1; i &lt;= 7; i++)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; int nTestMask = 1 &lt;&lt; (i-1);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (nTestMask == nDayOfWeekMask){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return i;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; ASSERT(FALSE);<br>&nbsp;&nbsp;&nbsp; return 0;<br>}<br></pre></td></tr></table><br><br>Do you know what could be wrong?<br><br>Thanks,<br><br>&nbsp;&nbsp; Dennis<br>]]>
   </description>
   <pubDate>Mon, 01 Sep 2008 10:05:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12039&amp;PID=40643&amp;title=setfirstdayofweek-asserts#40643</guid>
  </item> 
 </channel>
</rss>