![]() |
Visual Studio 2008, Command bars 12.0 problem |
Post Reply
|
| Author | |
Tsenoh
Groupie
Joined: 08 November 2006 Status: Offline Points: 69 |
Post Options
Thanks(0)
Quote Reply
Topic: Visual Studio 2008, Command bars 12.0 problemPosted: 09 June 2008 at 6:52am |
|
Hi!
I am using windows visual styles in my application, and since I updates my project to VS 2008 (from VS 6.0), it suggested I use #include <vssym32.h> instead of tmschema.h, so I did. Now I get error C2011 when compiling my project, because both VSStyle.h (from MFC90) and tmschema.h (from Xtreeme Commandbars code) are defining same enums. Are there some special project settings I have to set to avoid this problem? Anyone has similar expirience, and maybe a solution? Thanks! Sincerely, Bojan Hrnkas |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 June 2008 at 3:55pm |
|
Hi,
Just use tmschema.h. :-)
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Tsenoh
Groupie
Joined: 08 November 2006 Status: Offline Points: 69 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 June 2008 at 4:11am |
|
well, that's what I did, than. :)
I assume you are going to update the Toolkit in one of the future versions to accomodate this change? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 June 2008 at 1:01am |
|
Hi, Anoter solution is to put
#include <vssym32.h> before you include toolkit in stdafx.h. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |