🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdFTP EAccessViolation BCB 2006

#2766
From: Remy Lebeau (TeamB)
Date: Thu, 02 Feb 2006 09:33
20 lines
1710 bytes
"Stuart Kelly" <stuart@no.spam.com> wrote in message
news:43e1ca39$1@newsgroups.borland.com...

> The same problem occurs if I create the instance dynamically.

Can you please show the code?

> However if I step though the code the error accours in the
> constructor TIdComponent.Create(axOwner: TComponent);
> function in IdComponent.pas.
>
> The error accours during GStackCriticalSection.Acquire call.

That suggests that the critical section has not been created yet when you
are instantiating the component.  The only way that can happen is if the
Indy library has not been initialized properly by the VCL runtime.


Gambit
Technical Details
Message-ID: <43e1d2f0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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: <43df5c2e$1@newsgroups.borland.com> <43dfa6dd$3@newsgroups.borland.com> <43e0722f$1@newsgroups.borland.com> <43e08007$1@newsgroups.borland.com> <43e1ca39$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4903a6111cce894d
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: <43df5c2e$1@newsgroups.borland.com> <43dfa6dd$3@newsgroups.borland.com> <43e0722f$1@newsgroups.borland.com> <43e08007$1@newsgroups.borland.com> <43e1ca39$1@newsgroups.borland.com>
Subject: Re: TIdFTP EAccessViolation BCB 2006
Date: Thu, 2 Feb 2006 01:33:41 -0800
Lines: 22
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: <43e1d2f0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138873072 68.69.17.41 (2 Feb 2006 01:37:52 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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