Article View: borland.public.cppbuilder.internet.socket
Article #3991Re: TIdHTTP client in an NT Service
From: Remy Lebeau (TeamB)
Date: Thu, 21 Apr 2005 21:24
Date: Thu, 21 Apr 2005 21:24
17 lines
1756 bytes
1756 bytes
"No-Spam" <No-Spam@NoSpam.com> wrote in message news:426815f6$1@newsgroups.borland.com... > I've update to indy 9.14, when adding a IdHTTP Client to > the service, the compiler reports Multiple declaration errors. Indy uses WinSock v2.0. Most VCL socket components, including the ones that ship with BCB, still use WinSock v1.x instead. The headers for the two are not compatible with each other. winsock2.h disabled winsock.h if winsock2.h gets included by the preprocessor first, but if winsock.h is included first then all hell breaks loos. Don't mix other socket components with Indy. If you do a search in the newsgroup archives at http://www.deja.com , you will see this issue discussed many times before. Gambit
Technical Details
Message-ID:
<42681a0b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<426815f6$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,39fb71ce3abe6dd2 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <426815f6$1@newsgroups.borland.com> Subject: Re: TIdHTTP client in an NT Service Date: Thu, 21 Apr 2005 14:24:46 -0700 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42681a0b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1114118667 68.69.17.41 (21 Apr 2005 14:24:27 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail