🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: NO_WIN32_LEAN_AND_MEAN with Indy

#4560
From: Bruce Salzman
Date: Tue, 25 Jan 2005 19:46
21 lines
1516 bytes
"Karsten" <NoSpam@NoSpam.com> wrote in message 
news:41f6607d$1@newsgroups.borland.com...
> Hello !
>
> Iam using an external component which forces me to use 
> "NO_WIN32_LEAN_AND_MEAN" to compile my project.
>
> Unfortunately it looks like this conditional includes the old 
> Winsock API to my Project which is, in my understanding, not 
> compatible with Indy which is using Winsock2.
>
> Is there any way to compile Indy with this conditional set ?
>

Try defining _WINSOCKAPI_ to keep the contents of winsock.h from being 
included.


--
Bruce 
Technical Details
Message-ID: <41f6a187@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41f6607d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6834910b25d214b
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: " Bruce Salzman" <bruce@nospam.org>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41f6607d$1@newsgroups.borland.com>
Subject: Re: NO_WIN32_LEAN_AND_MEAN with Indy
Date: Tue, 25 Jan 2005 13:46:50 -0600
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 67.52.3.150
Message-ID: <41f6a187@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106682247 67.52.3.150 (25 Jan 2005 11:44:07 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail