🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#165
From: Sanjay Patel
Date: Sun, 25 Jun 2006 01:18
34 lines
2218 bytes
I have written in small app that uses dbase table to store small data. 
Orinially this was written in Win 95 with 1st version of C++ Builder.

I recompliled this app. in C++ Builder 5 in XP and when I try to run it I 
receive following error message.

"Access violation at address 77C47EFB in module 'msvcrt.dll'.  Read of 
address 00000000."

When I run it in debugger. The error occurs on the main form during it's 
creation in following line:

    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"

I am lost and I really don't know why this error is occuring.  One thing I 
noticed I am receiving warning during compile on following code line:

#pragma hdrstop

Once I comment that line out then warning goes away.

It's been sometime since, I coded using CppBuilder and I am lost and can't 
figure out why this error is occuring.  Please help.

You may send directly reply or cc to me at spatelone@yahoo.com

Thank you,
Sanjay Patel 
Technical Details
Message-ID: <449de457$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,ed557c1baf67d36a,start
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Sanjay Patel" <spatelone@yahoo.com>
Newsgroups: borland.public.cppbuilder.migration
Subject: Win 95 to Win XP and from 1st C++ Builder to C++ Builder 5 porting problem.
Date: Sat, 24 Jun 2006 21:18:18 -0400
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 72.149.65.254
Message-ID: <449de457$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1151198295 72.149.65.254 (24 Jun 2006 18:18:15 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail