Print Page | Close Window

Access Violation occurs on app exit with v10.3.1

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5352
Printed Date: 11 November 2025 at 1:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Access Violation occurs on app exit with v10.3.1
Posted By: cjsnewbie
Subject: Access Violation occurs on app exit with v10.3.1
Date Posted: 24 October 2006 at 2:41pm

Hi,

Recently I upgraded from Xtreme Toolkit Pro v9.81 to v10.3.1. My app works fine with new toolkit until I exit the app. Problem is that I get access violation crash when I exit.

My project is configured to use MFC in a shared DLL.

I want to link Xtreme Toolkit Pro as a dll so I deployed toolkit with following settings:

Build Configuration:  As a DLL
Unicode Support:      Unicode
Platform:                   Win32

Here is the call stack I get when I exit my app:



Am I linking it wrong? Am I missing any function call before exiting the app to unload Xtreme Toolkit dll?

Thanks.




Replies:
Posted By: Oleg
Date Posted: 24 October 2006 at 3:45pm
Hello,
 
What modules you use in your application (CommandBars/DockingPanes/SkinFramework/etc) ?


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


Posted By: cjsnewbie
Date Posted: 24 October 2006 at 4:08pm
Commandbars.

In OnCreate() function of MainFrame I am creating object of commandbars like this:

CXTPCommandBars* pCommandBars = GetCommandBars();

As a side info, I have also classes in my app which are derived from CXTShellTreeCtrl and CXTShellListCtrl.


 


Posted By: Oleg
Date Posted: 25 October 2006 at 1:14am
Hi,
 
Have no idea then :(   Try to rebuild all projects.


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