Print Page | Close Window

Visual Studio 2008, Command bars 12.0 problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=10959
Printed Date: 15 November 2025 at 3:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Visual Studio 2008, Command bars 12.0 problem
Posted By: Tsenoh
Subject: Visual Studio 2008, Command bars 12.0 problem
Date 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



Replies:
Posted By: Oleg
Date Posted: 09 June 2008 at 3:55pm
Hi,
 
Just use tmschema.h. :-)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Tsenoh
Date 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?


Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net