Print Page | Close Window

Calendar CRASH - Office 2007 Theme.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=13164
Printed Date: 15 May 2024 at 1:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Calendar CRASH - Office 2007 Theme.
Posted By: prashant
Subject: Calendar CRASH - Office 2007 Theme.
Date Posted: 14 January 2009 at 4:08am
Hello CJ Support Team,

I found following crash (GPF) in Calendar Demo sample.

Steps:

1) Run Calendar Demo.
2) Select Date January 15 , 2032
3) Doucle click and add appointment, you will get an application crash.

We came across this crash when our QA team tried to add an appointment for a future date (Above Jan 2032)

uploads/20090114_041603_Office2007Theme.zip - uploads/20090114_041603_Office2007Theme.zip






Replies:
Posted By: mdoubson
Date Posted: 14 January 2009 at 11:27am
Can't reproduce - may be you run release 12... whithout recent fixes? It was a few pure logical error in calendar arithmetics I found and fix - so may be your case related?


Posted By: SuperMario
Date Posted: 14 January 2009 at 3:13pm
Write to support and we can send you an updated version to see if you can break it.  I too can't reproduce with our new version 13 code.


Posted By: prashant
Date Posted: 14 January 2009 at 11:57pm
Thanks to both of you for replying.
Yes, we are using Codejock version 12.1.1.

When shall I expect Version 13 release?


Posted By: Oleg
Date Posted: 15 January 2009 at 3:49am
Hi,
 
Please send email to mailto:support@codejock.com - support@codejock.com - we will attach changed file.
Thanks for help.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: prashant
Date Posted: 15 January 2009 at 4:41am
Hi Oleg,

Done, Please send the files for Print Preview issue also.

https://forum.codejock.com/forum_posts.asp?TID=12520&KW=

Thanks.



Posted By: prashant
Date Posted: 15 January 2009 at 7:51am
Hi Oleg,

Using new file XTPCalendarThemeOffice2007.cpp sent by you, Application crashed at following location.

I selected Jan 15, 2032 in Office 2007 theme.

Call Stack:

CXTPCalendarTheme::CTOHeader::RefreshMetrics(int 1) line 1529 + 83 bytes
CXTPCalendarThemeOffice2007::CTOHeader::RefreshMetrics(int 1) line 969
CXTPCalendarThemePart::RefreshMetrics(int 1) line 626 + 15 bytes
CXTPCalendarThemeOffice2007::RefreshMetrics(int 1) line 671
CXTPCalendarTheme::RefreshMetrics() line 1239 + 15 bytes
CXTPCalendarControl::OnSysColorChange() line 2008 + 27 bytes

Line:
XTP_SAFE_CALL1(GetHeightFormulaPart(), SetStandardValue(13, 10, 1));

File:
XTPCalendarTheme.cpp



Posted By: prashant
Date Posted: 15 January 2009 at 8:42am
Hi Oleg,

Getting crash in DEBUG mode. In RELEASE seems to be working fine, thanks.


Posted By: Oleg
Date Posted: 15 January 2009 at 3:46pm
Hi,
 
Strange - so you just select 2032 and it was reason why CXTPCalendarControl::OnSysColorChange was called ???


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net