Article View: borland.public.cppbuilder.internet.socket
Article #4450Re: Indy and WinSock2.h problem
From: Remy Lebeau (TeamB)
Date: Tue, 08 Feb 2005 17:29
Date: Tue, 08 Feb 2005 17:29
22 lines
1677 bytes
1677 bytes
"Stefano Bonifazi" <stefboombastic@email.it> wrote in message news:4208eb0f@newsgroups.borland.com... > When compiling a project with an Indy 9 component I always > get the following compiler error: Your project has previously included winsock.h before Indy included winsock2.h. The two headers are not compatible with each other. > I tried to fix that as suggested in a previous Newsgroup thread > by adding _WINSOCKAPI_ to the project conditionals That will not work, as you already noticed. > I need both Indy and BCB Sockets components in my project! Why? Indy does everything that Borland's native sockets do, and more. You are better off not mixing multiple socket libraries together. Gambit
Technical Details
Message-ID:
<4208f629$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.moat.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4208eb0f@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,107c7f042cb7cb6a 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: <4208eb0f@newsgroups.borland.com> Subject: Re: Indy and WinSock2.h problem Date: Tue, 8 Feb 2005 09:29:20 -0800 Lines: 24 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: <4208f629$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1107883561 68.69.17.41 (8 Feb 2005 09:26:01 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.moat.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail