![]() |
DLL with vista AND office 2007 skins |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Topic: DLL with vista AND office 2007 skinsPosted: 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".
:(
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 December 2009 at 6:42am |
|
Hi,
You can open Vista.rc and remove this string declaration.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 December 2009 at 2:21pm |
|
Besides...
CVTRES : fatal error CVT1100: duplicate resource. type:TEXTFILE, name:NORMALBLUE_INI, language:0x0409
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |