Re: Problem With Indy 9/BCB 5

Giganews Newsgroups
Subject: Re: Problem With Indy 9/BCB 5
Posted by:  Clayton Arends (nospam_claytonarends@hotmail.com)
Date: Mon, 8 Nov 2004

David,

Are you getting error messages like "Multiple declaration for 'fd_set'"?  If
so, this is a problem that was introduced in 9.0.0.13.  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 9.0.0.11 instead until someone fixes this problem.

I just downloaded 9.0.0.17 and confirmed that the problem still exists.

HTH,
- Clayton

Replies

In response to

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