🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Unresolved external 'Idantifreeze::TIdAntiFreeze:

#2904
From: Remy Lebeau (TeamB)
Date: Fri, 06 Jan 2006 19:09
31 lines
2216 bytes
"Liu Shan" <liushan@ps-electronic.com> wrote in message
news:43be37e8@newsgroups.borland.com...

> I went to Development Snapshot page and download Indy 9
> and install in BCB6,it worked. but I cannot get the version
> number, only can see "Version DevSnapshot", is it version
> 9.0.50?

The version number is contained in IdVers.inc, and is also viewable when you
right-click on any Indy component at design-time.

> I wrote a server program that convert from Demo Pascal code
> and run on my PC, but I cannot start server.

According to the comments in your code, your loop through the TCheckListBox
is not seeing any checked items, so there are no values available to set up
the server with.  Which makes sense because you are subtracting -1 from the
lbIP->Items->Count, so the loop never sees the last item in the list - which
is the "127.0.0.1" item that you are checking - and so the
IdTCPServer1->Bindings remain empty.  In other words, you need to change
this line:

    for (i=0; i< lbIPs->Count-1; i++)

To this instead:

    for (i=0; i< lbIPs->Count; i++)


Gambit
Technical Details
Message-ID: <43bebfd0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43bcec76$1@newsgroups.borland.com> <43bd5f66$1@newsgroups.borland.com> <43bdcbd3$1@newsgroups.borland.com> <43bdd68e@newsgroups.borland.com> <43be37e8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a9ad1d742dfc75bf
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: <43bcec76$1@newsgroups.borland.com> <43bd5f66$1@newsgroups.borland.com> <43bdcbd3$1@newsgroups.borland.com> <43bdd68e@newsgroups.borland.com> <43be37e8@newsgroups.borland.com>
Subject: Re: Unresolved external 'Idantifreeze::TIdAntiFreeze:
Date: Fri, 6 Jan 2006 11:09:12 -0800
Lines: 33
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: <43bebfd0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1136574416 68.69.17.41 (6 Jan 2006 11:06:56 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail