Print Page | Close Window

XTP - VS C++ 2008 - WIN2K

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=11280
Printed Date: 26 June 2024 at 11:14am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTP - VS C++ 2008 - WIN2K
Posted By: lion
Subject: XTP - VS C++ 2008 - WIN2K
Date Posted: 02 July 2008 at 5:57am
Hi,

we write software using the xtp8 developing und compiling still under VS6.

But now we want to move to VS2008.

Sofar I was able to compile our app as well as xtp8 with VS2008 on Vista.
The resulting exe runs on Vista.

But: trying to run the resulting exe on W2K gives us a hard time. It does start but all the menus are broken, i.e. the menus are there and you can open them but not read the menustrings...


well can anyone give a hint on what to do in this case ?

I tried to compile XTP8 with WINVER set to 0x500 for W2K but that didn't compile at all.

Thanx in advance
Yours Bjoern




Replies:
Posted By: Oleg
Date Posted: 02 July 2008 at 9:40am
Hi,
Its too old version. Please update to Toolkit 12.0.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: lion
Date Posted: 02 July 2008 at 9:47am
well meanwhile i found out that its enough to change XTPs file: "stdafx.h" and insert the following:

#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 was able to resolve the problem.




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