Indy 9 & scktcomp.hpp results in winsock conflict

Giganews Newsgroups
Subject: Indy 9 & scktcomp.hpp results in winsock conflict
Posted by:  FernDog (FernD…@WhoKnows.com)
Date: Thu, 1 Jul 2004

I've narrowed down a winsock problem that reared after upgrading BCB6's Indy
8 installation to Indy 9.

The problem is very easy to reproduce.  Simply create a basic app, and drop
a TIdHTTP component, build and run.  Then, include the following:

#include <scktcomp.hpp>

Please note that following conditionals will not help:

NO_WIN32_LEAN_AND_MEAN;_WINSOCKAPI_

Can someone help me with this please?

Replies