Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Visual Studio 2008, Command bars 12.0 problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Visual Studio 2008, Command bars 12.0 problem

 Post Reply Post Reply
Author
Message
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post Topic: Visual Studio 2008, Command bars 12.0 problem
    Posted: 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 09 June 2008 at 3:55pm
Hi,
 
Just use tmschema.h. :-)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
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.062 seconds.