Print Page | Close Window

compile XTP 8 with VS2008 for W2K

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=11282
Printed Date: 15 November 2025 at 6:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: compile XTP 8 with VS2008 for W2K
Posted By: lion
Subject: compile XTP 8 with VS2008 for W2K
Date Posted: 02 July 2008 at 7:53am
Hi,

I have compiled XTP 8 under VS2008 running on Vista.
Using the resulting dll with our app works fine under Vista.

But under W2K it does not work.
Thats why I tried to compile XTP 8 with WINVER set to 0x500 (for W2K)
but then XTP 8 does NOT compile anymore. It throws errors like:

1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(629) : error C2059: Syntaxfehler: '<L_TYPE_raw>'
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(629) : error C2238: Unerwartete(s) Token vor ';'

Does anyone have an idea what I can do to get XTP 8 to run on W2K after compiling with VS2008 ?

Cheers
Bjoern

-----------------------------------------------
well, this is what I have found out so far:
I added the following to the "StdAfx.h" file:

#define _MFC_VER 0x800
#if _MFC_VER >= 0x800
    #define WINVER 0x500
    #define _WIN32_WINNT 0x500
    #define _WIN32_WINDOWS 0x500
    #define _WIN32_IE 0x500
    #define USE_STD_STREAM
    #define HRAWINPUT DWORD
    #include<Vsstyle.h>
#endif

this way I managed to compile xtp 8 under vs2008 and make it work under w2k.



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