Print Page | Close Window

Skin Problem on Release Build

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=9608
Printed Date: 16 November 2024 at 10:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skin Problem on Release Build
Posted By: phil_the_lick
Subject: Skin Problem on Release Build
Date Posted: 18 February 2008 at 5:33am
Hi,

I'm using the office 2007 blue skin on my application. On a debug build the main window and all dialogs are skinned very nicely.

On a release build, the dialogs lose the skin effect and go back to being xp dialogs, although the main app window is still skinned.

I started this application up with the evaluation version of the toolkit and pasted it together from various samples, and have now purchased the toolkit properly.

All eval versions were removed before the install of the main toolkit.

OS win xp. VS 2008 pro trial.




Replies:
Posted By: Oleg
Date Posted: 18 February 2008 at 9:52am
Hi,
 
Do you wrap your release exe somehow ? Can you reproduce it with new project ?


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


Posted By: phil_the_lick
Date Posted: 19 February 2008 at 12:27pm
Further info:

In the call to LoadSkin() the function CXTPSkinManager::ReadSkinData() is failing on line 564:
if(!m_pResourceFile->Open(strResourcePath, strIniFileName))


strResourcePath points to myappdir\\Office2007.cjstyles
strInitFileName is NULL

The Office2007.cjstyles and Vista.cjstyles were copied from the Bin\vc90\Styles folder.

I also copied:
Office2007Aqua.dll
Office2007Black.dll
Office2007Blue.dll
Office2007Silver.dll

from the Source\Styles folder.

This worked fine on the eval version, now even on my debug build on the actual toolkit its gone pete tong!





Posted By: Oleg
Date Posted: 20 February 2008 at 1:49pm
Hi,
Please try to reproduce it with our sample.


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