![]() |
DLL with vista AND office 2007 skins |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() 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".
:(
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |