Print Page | Close Window

SetTheme crashes

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=9452
Printed Date: 14 November 2025 at 2:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SetTheme crashes
Posted By: shanmuganathan
Subject: SetTheme crashes
Date Posted: 31 January 2008 at 5:07am
Hi All,

I am setting Theme for my UI (Property Sheet) in a DLL(Linked statically to MFC) . Things work fine until i close my Exe .

When i close my EXe it crashes in CXTPWinThemeWrapper destructor .

I am using XT Version 10.4.2 .


Can anyone tell me what am I doing wrong .

Thanks in Advance for your help .




Replies:
Posted By: Oleg
Date Posted: 31 January 2008 at 11:14am

Add

CXTPPaintManager::Done(); in ExitInstance of your app.

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