Print Page | Close Window

VS 2005 Compatibility

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=2136
Printed Date: 02 January 2026 at 6:05pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VS 2005 Compatibility
Posted By: Henrik
Subject: VS 2005 Compatibility
Date Posted: 21 April 2005 at 7:35am
Just a quick question: When will VS 2005 (Beta 2 or higher) support be available? Right now the samples do not compile, and the deploy tool does not offer to compile the VS 2005 libs.

Thanx
Henrik



Replies:
Posted By: Oleg
Date Posted: 21 April 2005 at 11:19pm

Did you test them with 9.60.1? It must compile and run... (on my beta 1)



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


Posted By: Henrik
Date Posted: 22 April 2005 at 1:43am
With Beta 2 it breaks, but I will double check it, and report details on the problems to make it easier for you to fix this.

One problem was very simple to fix: the new compiler does no longer accept declations such as

const VARIABLE = 0x1234;

since a type, such as int, is missing. There are two occurences of such an error, but this is not the main issue.

Will Deploy.EXE be updated to add the options to compile the VS2005 Libs soon?

Thanx
Henrik



Posted By: Sven
Date Posted: 23 April 2005 at 1:48am

9.60.1 runs fine with Beta 2 (compiled for x64) with some minor fixes:

XTPControlComboBoxExt.h

(53) const UINT XTP_FN_SETFORMAT    = 0x1000; // UINT missing
(77) const UINT XTP_FN_GETFORMAT    = 0x1001; // UINT missing

XTPHooManager.cpp

(92) GWLP_WNDPROC instead of GWL_WNDPROC
(93) GWLP_WNDPROC instead of GWL_WNDPROC
(98) GWLP_WNDPROC instead of GWL_WNDPROC

XTPMenuBar.cpp

(103) GCLP_HICONSM instead of GCL_HICONSM

XTPTabClientWnd.cpp

(604) GCLP_HICONSM instead of GCL_HICONSM
(610) GCLP_HICON instead of GCL_HICON

XTPToolBar.cpp

(599) GWLP_HWNDPARENT instead of GWL_HWNDPARENT
(601) GWLP_HWNDPARENT instead of GWL_HWNDPARENT

XTPControlComboBox.cpp

(284) GWLP_HWNDPARENT instead of GWL_HWNDPARENT

XTPPropExchange.cpp

(92) declaration of "i" before loop, AMD64 compiler can access loop counters only in loops

Since Beta 2 you have also to change the occurences of UINT OnNcHitTest(CPoint) to LRESULT OnNcHitTest(CPoint). I'm sure, these little problems are corrected in the next Toolkit version.



Posted By: Oleg
Date Posted: 25 April 2005 at 11:12pm
These already changed. Thank you.

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



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