Print Page | Close Window

RibbonBar crash with animation enabled

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=8471
Printed Date: 02 March 2025 at 5:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RibbonBar crash with animation enabled
Posted By: Denbuerg
Subject: RibbonBar crash with animation enabled
Date Posted: 19 October 2007 at 8:28am
Hi,

My application uses a RibbonBar. If I enable animation, the app crashes sometimes after a ribbon button is pushed. Somehow the pointer to the source bits is invalid. Do you have an idea what causes that crash. (using xtt 10.4.2)

Here a call stack:
SomeApp.exe!CXTPCommandBarAnimation::AlphaBlendU(unsigned char * pDest=0x05570000, unsigned char * pSrcBack=0xfeeefeee, int cx=46, int cy=45, unsigned char * pSrc=0xfeeefeee, unsigned char byAlpha='.')  Line 90 + 0x3 bytes    C++
SomeApp.exe!CXTPCommandBarAnimation::AnimateRect(CClientDC & dc={...}, CXTPCommandBarAnimation::CAnimateInfo * pai=0x02fc61c8)  Line 130    C++
SomeApp.exe!CXTPCommandBarAnimation::OnAnimate()  Line 154    C++
SomeApp.exe!CXTPCommandBar::OnTimer(unsigned int nIDEvent=707907)  Line 1264    C++
SomeApp.exe!CXTPMenuBar::OnTimer(unsigned int nIDEvent=707907)  Line 736    C++
SomeApp.exe!CWnd::OnWndMsg(unsigned int message=275, unsigned int wParam=707907, long lParam=0, long * pResult=0x0012fcbc)  Line 2032    C++
SomeApp.exe!CXTPCommandBar::OnWndMsg(unsigned int message=275, unsigned int wParam=707907, long lParam=0, long * pResult=0x0012fcbc)  Line 2345    C++
SomeApp.exe!CWnd::WindowProc(unsigned int message=275, unsigned int wParam=707907, long lParam=0)  Line 1741 + 0x20 bytes    C++
SomeApp.exe!AfxCallWndProc(CWnd * pWnd=0x02efc8e0, HWND__ * hWnd=0x00030c68, unsigned int nMsg=275, unsigned int wParam=707907, long lParam=0)  Line 240 + 0x1c bytes    C++
SomeApp.exe!AfxWndProc(HWND__ * hWnd=0x00030c68, unsigned int nMsg=275, unsigned int wParam=707907, long lParam=0)  Line 389    C++




Replies:
Posted By: Oleg
Date Posted: 19 October 2007 at 3:19pm
Hi,
If you are going use Ribbon, I very recommend update to last 11.2 release - too much changes was done for Ribbon.


-------------
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