🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TIdHTTP client in an NT Service

#3990
From: No-Spam
Date: Thu, 21 Apr 2005 21:07
17 lines
1813 bytes
I've update to indy 9.14, when adding a IdHTTP Client to the service, the
compiler reports Multiple declaration errors.

  [C++ Error] winsock2.h(109): E2238 Multiple declaration for 'fd_set'
  [C++ Error] winsock.h(54): E2344 Earlier declaration of 'fd_set'
  [C++ Error] winsock2.h(112): E2146 Need an identifier to declare
  [C++ Error] winsock2.h(153): E2238 Multiple declaration for 'timeval'
  [C++ Error] winsock.h(97): E2344 Earlier declaration of 'timeval'
  [C++ Error] winsock2.h(209): E2238 Multiple declaration for 'hostent'
  [C++ Error] winsock.h(153): E2344 Earlier declaration of 'hostent'
  [C++ Error] winsock2.h(222): E2238 Multiple declaration for 'netent'
  [C++ Error] winsock.h(166): E2344 Earlier declaration of 'netent'

Is this a bad build? I read about the 9.18 being incomplete. I can not find
any later releases.

Thanks for the help
Technical Details
Message-ID: <426815f6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.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,39fb71ce3abe6dd2,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "No-Spam" <No-Spam@NoSpam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TIdHTTP client in an NT Service
Date: Thu, 21 Apr 2005 14:07:01 -0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-eShield-AntiVirus: Passed
X-eShield-AntiVirus-Message: Scanned by http://www.bluecoat.com/eShield
NNTP-Posting-Host: 199.217.93.5
Message-ID: <426815f6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114117622 199.217.93.5 (21 Apr 2005 14:07:02 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail