Article View: borland.public.cppbuilder.internet.socket
Article #5691Re: TIdTCPClient in Web Server application
From: Drew
Date: Tue, 06 Jul 2004 21:02
Date: Tue, 06 Jul 2004 21:02
31 lines
1839 bytes
1839 bytes
Thanks very much - the 'WIN32_MEAN_AND_LEAN' sorted it "Omar Zelaya" <ozelaya@invdochat.com> wrote in message news:40ea180b$1@newsgroups.borland.com... > try adding the define WIN32_LEAN_AND_MEAN on your project defines > or try moving and the indy includes before alll other includes, just after > de "vcl.h" include. > > > "Drew" <aemsley@brightwell.org.uk> wrote in message > news:40e9ca15@newsgroups.borland.com... > > Hi, > > > > I've just added a TIdTCPClient component to an existing and working CGI > Web > > Server application. I now get lots of compiler errors for multiple > > declarations of fd_set, timeval etc - i.e. everything that's defined in > > winsock.h and winsock2.h. > > > > Is it valid to have this type of component within a Web Server > application, > > and if so, any ideas what I'm doing wrong? > > > > Thanks > > > > Drew > > > > > >
Technical Details
Message-ID:
<40eb1339$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40e9ca15@newsgroups.borland.com> <40ea180b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,56a8e117b44abb88 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Drew" <aemsley@brightwell.org.uk> Newsgroups: borland.public.cppbuilder.internet.socket References: <40e9ca15@newsgroups.borland.com> <40ea180b$1@newsgroups.borland.com> Subject: Re: TIdTCPClient in Web Server application Date: Tue, 6 Jul 2004 22:02:53 +0100 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 81.137.221.84 Message-ID: <40eb1339$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089147705 81.137.221.84 (6 Jul 2004 14:01:45 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail