![]() |
compile XTP 8 with VS2008 for W2K |
Post Reply
|
| Author | |
lion
Groupie
Joined: 04 March 2008 Status: Offline Points: 22 |
Post Options
Thanks(0)
Quote Reply
Topic: compile XTP 8 with VS2008 for W2KPosted: 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. |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |