🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to use Indy in "Service Application"?

#5623
From: Owen
Date: Thu, 24 Jun 2004 07:11
18 lines
1210 bytes
Yunin wrote:

> 
> Indy 9 in normal application,run ok.When i create a "Service
> Application",can not compile ?I just only drag a "TIdTCPServer"
> component into service module.The error messgae is :
> 
> [C++ Error] winsock2.h(109): E2238 Multiple declaration for 'fd_set'
> ...
> 
> How to solve this problem?
> 
> Thanks.

I has the same behaviour, resolved by defining the "WIN32_LEAN_AND_MEAN"
directive.

Owen
Technical Details
Message-ID: <40da7eb0$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-mail
References: <40c5bd77$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11508e,cde7814cb6d63106,start
X-Google-Attributes: gid11508e,public
From: "Owen" <NOSPAAM@For.me>
Subject: Re: How to use Indy in "Service Application"?
Newsgroups: borland.public.cppbuilder.internet.socket
References:  <40c5bd77$1@newsgroups.borland.com>
User-Agent: XanaNews/1.16.2.2
NNTP-Posting-Host: 80.150.4.50
Message-ID: <40da7eb0$1@newsgroups.borland.com>
Date: 24 Jun 2004 00:11:44 -0700
X-Trace: newsgroups.borland.com 1088061104 80.150.4.50 (24 Jun 2004 00:11:44 -0700)
Lines: 18
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