Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Crash on exit in XTP 9.70
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash on exit in XTP 9.70

 Post Reply Post Reply
Author
Message
srana View Drop Down
Groupie
Groupie
Avatar

Joined: 15 May 2003
Location: India
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote srana Quote  Post ReplyReply Direct Link To This Post Topic: Crash on exit in XTP 9.70
    Posted: 27 September 2005 at 9:59am

Upgraded from Xtreme Toolkit pro 9.51 to 9.70 using it as an extension dll. No Changes in code. Program runs fine in XTP 9.51

Program gives assertion on exit in

XTPThemeManager.cpp line 261 in destructor of CXTThemeManager

 CXTThemeManager::~CXTThemeManager()
{
 POSITION pos = m_mapDefaultFactories.GetStartPosition();
 void* pThemeFactoryClass;
 CXTThemeManagerStyleFactory* pFactory = 0;
 while(pos)
 {
  m_mapDefaultFactories.GetNextAssoc(pos, pThemeFactoryClass, (void *&)pFactory);
  delete pFactory;
 }

 ASSERT(m_factoryList.m_pHead == 0); //Crash afterwards here 
 m_factoryList.RemoveAll();
}

 



Edited by srana

Shrishail Rana
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.