Building Visual C++ 6.0 Projects

When building a SocketTools project using Visual C++ 6.0 on Windows XP or later, make sure that you have installed Visual Studio 6.0 Service Pack 6 (SP6) and the Windows Platform SDK February 2003 Edition.

More Information

Important: This article provides information for a version of SocketTools which is no longer supported. It is recommended you upgrade your project to use the current version of SocketTools and Visual Studio.

SocketTools 10 and earlier versions can be used with Visual C++ 6.0 on Windows XP, however there are several requirements. The Windows XP system must have been updated with Service Pack 3 (SP3) and current security updates. After installing Visual Studio 6.0 or Visual C++ 6.0, you also need to update it with Service Pack 6 (SP6). This was made available as part of MSDN and can be downloaded from Microsoft Download Center.

When you attempt to compile one of the SocketTools examples (or your own code) you may get a warning that the WINVER preprocessor macro has been defined as 0x0500 or greater. This means that you do not have the correct Windows header files and import libraries installed. You need to obtain the Platform SDK - February 2003 Edition and install the Core SDK files.

There are also other components to the Platform SDK which you may wish to install, such as the database APIs and debugging tools. After you have installed the Platform SDK, integrate it with Visual C++ 6.0 by selecting All Programs > Microsoft Platform SDK February 2003 > Visual Studio Registration > Register PSDK Directories with Visual Studio.

The Visual C++ 6.0 IDE will not work correctly on Windows 11 using the workaround solutions that were available for Windows 10. In most cases the IDE will immediately crash, even when started with elevated privileges in compatibility mode. We do not recommend the installation of Visual C++ 6.0 or the Platform 2003 SDK on a Windows 11 system.

See Also

Compilation Errors Using Visual C++ 6.0

Shopping Cart
Scroll to Top