Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Visual Studio 2012
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Visual Studio 2012

 Post Reply Post Reply
Author
Message
Ben View Drop Down
Newbie
Newbie


Joined: 03 December 2012
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ben Quote  Post ReplyReply Direct Link To This Post Topic: Visual Studio 2012
    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
Back to Top
sub0 View Drop Down
Newbie
Newbie


Joined: 18 September 2011
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote sub0 Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2013 at 10:49am
hello 
I resolved the same problem by just replacing the last '==' by '>='
Wink
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.