Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - compile XTP 8 with VS2008 for W2K
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

compile XTP 8 with VS2008 for W2K

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


Joined: 04 March 2008
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote lion Quote  Post ReplyReply Direct Link To This Post Topic: compile XTP 8 with VS2008 for W2K
    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.
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.031 seconds.