Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - DLL with vista AND office 2007 skins
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DLL with vista AND office 2007 skins

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: DLL with vista AND office 2007 skins
    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".
 
:(
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: 14 December 2009 at 6:42am
Hi,
 
You can open Vista.rc and remove this string declaration.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 14 December 2009 at 2:21pm
Besides...
 
CVTRES : fatal error CVT1100: duplicate resource.  type:TEXTFILE, name:NORMALBLUE_INI, language:0x0409
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.203 seconds.