🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem with TIdFTPServer (BSoD)

#3504
From: Stanislav Horal
Date: Thu, 08 Sep 2005 07:16
34 lines
2485 bytes
I tried Cerberus FTP Server, it works fine, without any BSoD. Then I stop 
it, run my tiny FTP server, make 3-times connect-disconnect and BSoD 
appears. For connection I used Total Commander and Internet Explorer with 
the same result. Using MSIE BSoD appears when window is closed (connection 
closed).

http://fpv.ucm.sk/test/FTPTest.zip

OT:
I thought that OnCreate event is called after initialization of all 
components is finished. Where can I call initialization section of my 
program (reading Registry, setting memory structures, ...) ?

-Stanley-


"Jonathan Benedicto" <incorrect@no.server> wrote in message 
news:431f685d$1@newsgroups.borland.com...
> "Stanislav Horal" <stanislav.horal@ucm.sk> wrote in message 
> news:431ef874@newsgroups.borland.com...
>> I have a little FTP server with Indy 9 components. When user connects 
>> (e.g. Total Commander), then disconnects, connects, disconnects... 
>> sometimes I get Windows Blue Screen of Dead :-( . This is the smallest 
>> code, when this error still appears:
>
> Have you tried using a different FTP app ?
>
> And, BTW, this should not fix your problem, but you should not be using 
> OnCreate. It is a Delphi remnant that is illegal in C++, because it can 
> call the function before the constructor is called. Rather just set those 
> two button states in the Object Inspector.
>
> Jonathan
> 
Technical Details
Message-ID: <431fe53d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!195.92.193.196.MISMATCH!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <431ef874@newsgroups.borland.com> <431f685d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4b888b12003700ea
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Stanislav Horal" <stanislav.horal@ucm.sk>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <431ef874@newsgroups.borland.com> <431f685d$1@newsgroups.borland.com>
Subject: Re: Problem with TIdFTPServer (BSoD)
Date: Thu, 8 Sep 2005 09:16:49 +0200
Lines: 36
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: 193.87.59.3
Message-ID: <431fe53d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126163773 193.87.59.3 (8 Sep 2005 00:16:13 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!195.92.193.196.MISMATCH!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail