🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Unresolved external 'Idantifreeze::TIdAntiFreeze:

#2915
From: Remy Lebeau (TeamB)
Date: Wed, 11 Jan 2006 05:28
28 lines
2176 bytes
"Liu Shan" <liushan@ps-electronic.com> wrote in message
news:43c47703$1@newsgroups.borland.com...

> I've modified my code according to your suggestion to
> void to ignores the activation. But the server still cannot
> start, that means, call function below:
> IdTCPServer->Active = true;
> fServerRunning = IdTCPServer->Active;

Then please show your latest code.  The code I keep giving you works fine
for me, so you must not be copying it into your project correctly.

> fServerRunning always get false no matter you assign
> IdTCPServer->Active = true or not.
> What's matter?

The only way setting the Active property to true can fail is if you have
provided invalid Binding values.  But if that occured, you should be seeing
socket exceptions being thrown.

> sometimes I got Access Violation.

Creating Bindings does not throw AVs.  Where EXACTLY do the AVs occur in
your code?  Please provide more details.


Gambit
Technical Details
Message-ID: <43c496ed$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!newshub.sdsu.edu!pln-e!lotsanews.com!news-out.newsgroups.com!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> <43bebfd0$1@newsgroups.borland.com> <43c1be5a$1@newsgroups.borland.com> <43c23f02@newsgroups.borland.com> <43c47703$1@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> <43bebfd0$1@newsgroups.borland.com> <43c1be5a$1@newsgroups.borland.com> <43c23f02@newsgroups.borland.com> <43c47703$1@newsgroups.borland.com>
Subject: Re: Unresolved external 'Idantifreeze::TIdAntiFreeze:
Date: Tue, 10 Jan 2006 21:28:33 -0800
Lines: 30
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: <43c496ed$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1136957165 68.69.17.41 (10 Jan 2006 21:26:05 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!newshub.sdsu.edu!pln-e!lotsanews.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail