🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TIdFTP EAccessViolation BCB 2006

#2754
From: Stuart Kelly
Date: Tue, 31 Jan 2006 11:46
29 lines
1650 bytes
Hi,

I have imported a C++Builder 6 project into C++Builder 2006 and am now getting EAccessViolations when I create a form with a TIdFTP component at run time.  I am using Indy 9 as recommended.

If I delete the TIdFTP component the form is displayed ok.

Here is my form allocation and display code

 try
 {
   // Exception when allocating the form
   FormUpdate = new TFormUpdate(Application);
   FormUpdate->Display();
 } // end try
 catch (Exception &e)
 {
   // Display EAccessViolation
   ShowMessage(e.Message);
 } // end catch

 // free mem
 delete FormUpdate;
 FormUpdate = NULL;

The only thing I changed was to use Rave Reports instead of Quick  Reports as this is no longer supplied with BCB 2006.

Kind Regards,
Stuart Kelly
Technical Details
Message-ID: <43df5c2e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!ecngs!feeder.ecngs.de!newsfeed.freenet.de!news.code-werk.net!open-news-network.org!news.soft-gems.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4903a6111cce894d,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Stuart Kelly" <stuart@dkelly1.demon.co.uk>
Sender: "Stuart Kelly" <stuart@dkelly1.demon.co.uk>
Reply-To: "Stuart Kelly" <stuart@dkelly1.demon.co.uk>
Subject: TIdFTP EAccessViolation BCB 2006
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 217.45.200.81     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <43df5c2e$1@newsgroups.borland.com>
Date: 31 Jan 2006 04:46:38 -0700
X-Trace: newsgroups.borland.com 1138711598 207.105.83.66 (31 Jan 2006 04:46:38 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!ecngs!feeder.ecngs.de!newsfeed.freenet.de!news.code-werk.net!open-news-network.org!news.soft-gems.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail