Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Beta 18  XTToolkitPro.h
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Beta 18 XTToolkitPro.h

 Post Reply Post Reply
Author
Message
lrenoux View Drop Down
Groupie
Groupie


Joined: 20 April 2009
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote lrenoux Quote  Post ReplyReply Direct Link To This Post Topic: Beta 18 XTToolkitPro.h
    Posted: 31 May 2017 at 4:53am
It seems there is a trouble with the XTToolkitPro.h in the first beta Xtreme ToolkitPro v18.0.0.053017

#if _MSC_VER == 1900
#define _XTPLIB_VISUALSTUDIO_VERSION "vc140"
#endif
#if (1900 <= _MSC_VER) && (_MSC_VER < 2000)
#define _XTPLIB_VISUALSTUDIO_VERSION "vc150"
#endif

Should be 

#if _MSC_VER == 1900
#define _XTPLIB_VISUALSTUDIO_VERSION "vc140"
#endif
#if (1900 < _MSC_VER) && (_MSC_VER < 2000)
#define _XTPLIB_VISUALSTUDIO_VERSION "vc150"
#endif

perhaps.

L.
Back to Top
sharky72 View Drop Down
Groupie
Groupie


Joined: 05 November 2016
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote sharky72 Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2017 at 12:04pm
vc141
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 284
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2017 at 12:02am
Thanks for reporting this. Please replace the entire block with:

#if !defined(_XTP_DEMOMODE) && !defined(_XTP_RETAIL)
#define _XTPLIB_VISUALSTUDIO_VERSION ""
#elif _MSC_VER < 1200
#define _XTPLIB_VISUALSTUDIO_VERSION "vc50"
#elif _MSC_VER == 1200
#define _XTPLIB_VISUALSTUDIO_VERSION "vc60"
#elif _MSC_VER == 1300
#define _XTPLIB_VISUALSTUDIO_VERSION "vc70"
#elif _MSC_VER == 1310
#define _XTPLIB_VISUALSTUDIO_VERSION "vc71"
#elif _MSC_VER == 1400
#define _XTPLIB_VISUALSTUDIO_VERSION "vc80"
#elif _MSC_VER == 1500
#define _XTPLIB_VISUALSTUDIO_VERSION "vc90"
#elif _MSC_VER == 1600
#define _XTPLIB_VISUALSTUDIO_VERSION "vc100"
#elif _MSC_VER == 1700
#define _XTPLIB_VISUALSTUDIO_VERSION "vc110"
#elif _MSC_VER == 1800
#define _XTPLIB_VISUALSTUDIO_VERSION "vc120"
#elif _MSC_VER == 1900
#define _XTPLIB_VISUALSTUDIO_VERSION "vc140"
#elif (1910 <= _MSC_VER) && (_MSC_VER < 2000)
#define _XTPLIB_VISUALSTUDIO_VERSION "vc150"
#elif
#error "Unknown Visual Studio version"
#endif

Regards,
  Alexander
Back to Top
Insad View Drop Down
Groupie
Groupie
Avatar

Joined: 28 October 2004
Location: The Netherlands
Status: Offline
Points: 55
Post Options Post Options   Thanks (0) Thanks(0)   Quote Insad Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2017 at 2:10am
Like sharky72 said;
vc150 should be vc141

Products in use: XTP version 13.4.2/15.3.1/16.4.0/17.3.0
Platforms: Win2003(R2)/Win2008(R2)/Win7/Win2011/Win8(.1)/Win2012(R2)/Win10 (x86/x64)
Langs: VC++ (MFC) 6/2005/2008/2013/2015/2017
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.160 seconds.