Print Page | Close Window

DLL with vista AND office 2007 skins

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=15833
Printed Date: 22 November 2024 at 6:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DLL with vista AND office 2007 skins
Posted By: znakeeye
Subject: DLL with vista AND office 2007 skins
Date Posted: 12 December 2009 at 4:25pm
MySkinDLL.rc2:
#include "SkinFramework\Styles\Office2007\Office2007.rc"
#include "SkinFramework\Styles\Vista\Vista.rc"
 
error RC2151 : cannot reuse string constants, 5000(0x1388) - "Office 2007 Style" already defined. Cannot add 5000(0x1388) - "Windows Vista Style".
 
:(



Replies:
Posted By: Oleg
Date Posted: 14 December 2009 at 6:42am
Hi,
 
You can open Vista.rc and remove this string declaration.


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


Posted By: znakeeye
Date Posted: 14 December 2009 at 1:35pm
I suggest you guard this string in all skin resources:
 
#ifndef _XTP_NO_SKIN_TITLE
STRINGTABLE DISCARDABLE
BEGIN
    5000                    "Windows Vista Style"
END
#endif
 
...
 
#ifndef _XTP_NO_SKIN_TITLE
STRINGTABLE DISCARDABLE
BEGIN
    5000                    "Office 2007 Style"
END
#endif
 
a.s.o


Posted By: znakeeye
Date Posted: 14 December 2009 at 2:21pm
Besides...
 
CVTRES : fatal error CVT1100: duplicate resource.  type:TEXTFILE, name:NORMALBLUE_INI, language:0x0409



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