Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Skin Problem on Release Build
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skin Problem on Release Build

 Post Reply Post Reply
Author
Message
phil_the_lick View Drop Down
Groupie
Groupie


Joined: 03 January 2008
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote phil_the_lick Quote  Post ReplyReply Direct Link To This Post Topic: Skin Problem on Release Build
    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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
phil_the_lick View Drop Down
Groupie
Groupie


Joined: 03 January 2008
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote phil_the_lick Quote  Post ReplyReply Direct Link To This Post 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!



Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2008 at 1:49pm
Hi,
Please try to reproduce it with our sample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.219 seconds.