Re: Problem With Indy 9/BCB 5

Giganews Newsgroups
Subject: Re: Problem With Indy 9/BCB 5
Posted by:  Clayton Arends (
Date: Mon, 8 Nov 2004


Are you getting error messages like "Multiple declaration for 'fd_set'"?  If
so, this is a problem that was introduced in  I have only tested
this in BCB6, however.

Check your project's conditional defines.  I have found that the conditional
define "NO_WIN32_LEAN_AND_MEAN" causes this problem to manifest itself,
though have never been able to determine why.  If I remove this define or
define "WIN32_LEAN_AND_MEAN" instead then I can get my Indy program to
compile.  However, since there are some other BCB headers that require
"NO_WIN32_LEAN_AND_MEAN" as a work-around (eg shlobj.h) I have been forced
to use Indy instead until someone fixes this problem.

I just downloaded and confirmed that the problem still exists.

- Clayton


In response to

Problem With Indy 9/BCB 5 posted by David Pedley on Mon, 8 Nov 2004