Print Page | Close Window

Visual Studio 2012

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=20369
Printed Date: 21 December 2024 at 9:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Visual Studio 2012
Posted By: Ben
Subject: Visual Studio 2012
Date Posted: 03 December 2012 at 3:20pm
Hi,

We've been using the codejock skinframework with Visual Studio 2010 with no problem.  We're looking at upgrading to VS2012 and I am seeing an error that is coming from the XTSkinFrameworkPro.h file.  The message is this:

fatal error C1189: #error :  "Unknown Visual Studio version"

It looks like the XTSkinFrameworkPro.h only recognizes up to VS 2010 as evidenced by the excerpt from the file included below. 

Do I need to upgrade my codejock product?  We are using version 15.0.2 of the skin framework.

Thanks,
Ben

Excerpt:

#if !defined(_XTP_DEMOMODE) && !defined(_XTP_RETAIL)
#define _XTPLIB_VISUALSTUDIO_VERSION ""
#else
#if _MSC_VER < 1200
#define _XTPLIB_VISUALSTUDIO_VERSION "vc50"
#endif
#if _MSC_VER == 1200
#define _XTPLIB_VISUALSTUDIO_VERSION "vc60"
#endif
#if _MSC_VER == 1300
#define _XTPLIB_VISUALSTUDIO_VERSION "vc70"
#endif
#if _MSC_VER == 1310
#define _XTPLIB_VISUALSTUDIO_VERSION "vc71"
#endif
#if _MSC_VER == 1400
#define _XTPLIB_VISUALSTUDIO_VERSION "vc80"
#endif
#if _MSC_VER == 1500
#define _XTPLIB_VISUALSTUDIO_VERSION "vc90"
#endif
#if _MSC_VER == 1600
#define _XTPLIB_VISUALSTUDIO_VERSION "vc100"
#endif

#ifndef _XTPLIB_VISUALSTUDIO_VERSION
#error "Unknown Visual Studio version"
#endif
#endif



Replies:
Posted By: sub0
Date Posted: 03 March 2013 at 10:49am
hello 
I resolved the same problem by just replacing the last '==' by '>='
Wink



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