🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #166

Re: Win 95 to Win XP and from 1st C++ Builder to C++ Builder 5 porting problem.

#166
From: Hans Galema
Date: Sun, 25 Jun 2006 07:52
17 lines
1603 bytes
Sanjay Patel wrote:

>     Application->CreateForm(__classid(TMyProj), &MyProj);
> 
> In the debugger I receive following error message:
> 
>     "Project MyProj.exe raised exception class EAccessViolation with message 
> 'Access violation at address 77C47EFB in module 'msvcrt.dll'.  Read of 
> address 00000000.' Process stopped.  Use Step or Run to continue"

Are you using FormCreate()/FormDestroy() ?

If so then stop doing that. Move respective code to the constructor/destructor.

You might first try however to set OldCreateOrder to true;

Hans.
Technical Details
Message-ID: <449e41d6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <449de457$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,ed557c1baf67d36a
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 25 Jun 2006 09:52:00 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.migration
Subject: Re: Win 95 to Win XP and from 1st C++ Builder to C++ Builder 5 porting
 problem.
References: <449de457$1@newsgroups.borland.com>
In-Reply-To: <449de457$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <449e41d6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1151222230 145.98.201.248 (25 Jun 2006 00:57:10 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail