Print Page | Close Window

Beta 18 XTToolkitPro.h

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=23348
Printed Date: 23 December 2024 at 11:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Beta 18 XTToolkitPro.h
Posted By: lrenoux
Subject: Beta 18 XTToolkitPro.h
Date 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.



Replies:
Posted By: sharky72
Date Posted: 01 June 2017 at 12:04pm
vc141


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


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



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