Angew
12-03-2006, 11:26 AM
I want to use ClanLib (0.8.0) with MS Visual C++ 6.0, but I can't build even configure.dsw. I downloaded and installed Service pack 5, as requested. However, when building Configure.exe, I get the following errors (I snapped out unnecessary path details):
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
C:\...\ClanLib-0.8.0\Setup\Win32\page_finished.cpp(55) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_finished.cpp(78) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(118) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(118) : error C2065: 'LONG_PTR' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(118) : error C2146: syntax error : missing ')' before identifier 'self'
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(118) : error C2059: syntax error : ')'
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(129) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(118) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(118) : error C2065: 'LONG_PTR' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(118) : error C2146: syntax error : missing ')' before identifier 'self'
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(118) : error C2059: syntax error : ')'
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(129) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(80) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(80) : error C2065: 'LONG_PTR' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(80) : error C2146: syntax error : missing ')' before identifier 'self'
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(80) : error C2059: syntax error : ')'
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(97) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_welcome.cpp(53) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_welcome.cpp(72) : error C2065: 'GetWindowLongPtr' : undeclared identifier
Would anyone know what's wrong? If it's a matter of Windows Platform SDK, is there a VC6 version still available for download somewhere? I couldn't find any on the Microsoft web.
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
C:\...\ClanLib-0.8.0\Setup\Win32\page_finished.cpp(55) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_finished.cpp(78) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(118) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(118) : error C2065: 'LONG_PTR' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(118) : error C2146: syntax error : missing ')' before identifier 'self'
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(118) : error C2059: syntax error : ')'
C:\...\ClanLib-0.8.0\Setup\Win32\page_system.cpp(129) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(118) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(118) : error C2065: 'LONG_PTR' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(118) : error C2146: syntax error : missing ')' before identifier 'self'
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(118) : error C2059: syntax error : ')'
C:\...\ClanLib-0.8.0\Setup\Win32\page_system2.cpp(129) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(80) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(80) : error C2065: 'LONG_PTR' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(80) : error C2146: syntax error : missing ')' before identifier 'self'
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(80) : error C2059: syntax error : ')'
C:\...\ClanLib-0.8.0\Setup\Win32\page_target.cpp(97) : error C2065: 'GetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_welcome.cpp(53) : error C2065: 'SetWindowLongPtr' : undeclared identifier
C:\...\ClanLib-0.8.0\Setup\Win32\page_welcome.cpp(72) : error C2065: 'GetWindowLongPtr' : undeclared identifier
Would anyone know what's wrong? If it's a matter of Windows Platform SDK, is there a VC6 version still available for download somewhere? I couldn't find any on the Microsoft web.