🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5644

Indy 9 / BCB6 / Winsock2 compiler error

#5644
From: Alfred Thomas
Date: Tue, 29 Jun 2004 14:00
9 lines
1273 bytes
Hi

I have written a Windows service and when I included a module containing idHTTP, I get the following error: multiple declaration for 'fd_set' etc. This is declared in winsock2.h and winsock.h. I found that in scktcomp.hpp winsock.h is declared and winsock2.h in idHTTp.
Does anyone have a solution for this? I have tried moving the includes etc but nothing works.
I will appreciate any help

Regards
Alfred Thomas
Technical Details
Message-ID: <40e17606$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,10073785558ea23d,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Alfred Thomas" <alfred@fischerint.co.za>
Sender: "Alfred Thomas" <alfred@fischerint.co.za>
Reply-To: "Alfred Thomas" <alfred@fischerint.co.za>
Subject: Indy 9 / BCB6 / Winsock2 compiler error
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 196.25.217.126     
X-Forwarded-For: 192.96.150.189
NNTP-Posting-Host: 207.105.83.66
Message-ID: <40e17606$1@newsgroups.borland.com>
Date: 29 Jun 2004 07:00:38 -0700
X-Trace: newsgroups.borland.com 1088517638 207.105.83.66 (29 Jun 2004 07:00:38 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail