Assert in CMarkupStatic |
Post Reply |
Author | |
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
Posted: 05 September 2008 at 9:55am |
When using the CMarkupStatic control I sometimes get an Assertion because the m_dwRef is large (=13). I cannot provoke it every time, but it has arrived after I call SetMarkupText more than one time. And maybe because I resize the app?
CXTPMarkupContext::~CXTPMarkupContext()
{ if (m_pImageManager){ ((CCmdTarget*)m_pImageManager)->InternalRelease(); } ASSERT(m_dwRef <= 1); MARKUP_RELEASE(m_pMouseOver); MARKUP_RELEASE(m_pKeyboardNavigation); Any idears? Using XTP v1200.
-cpede
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks. Please move this assert in the end of method.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
I don't think this correction was added to the last 12.1.1 release?
-cpede
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Why ? You still can reproduce it ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |