Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EAccessViolation, Delphi 4

0 views
Skip to first unread message

Gail C. Little

unread,
Dec 11, 1998, 3:00:00 AM12/11/98
to
I am trying to modify a functioning program in Delphi 4 which was
developed in Delphi 3. When I installed Delphi 4 something happened
to Delphi 3, and I can no longer use it.

Obviously D4 is handling some things differently, because LOTS of
areas of my code are in trouble. I'm getting EAccessViolation in
several spots, one of which is in trying to test the return value of
MessageDlg! I have used StrPChar several times - do I need to use New
to create & set size of PChar variables before use? I did NOT with
D3.

Any help will be greatly appreciated - this is a VERY URGENT problem!

Thanks,
Gail C. Little
gli...@timetrend.com

Ken White

unread,
Dec 12, 1998, 3:00:00 AM12/12/98
to
Hi Gail,

Gail C. Little wrote:
>
> I am trying to modify a functioning program in Delphi 4 which was
> developed in Delphi 3. When I installed Delphi 4 something happened
> to Delphi 3, and I can no longer use it.

Unless you installed D4 into the same directory as D3, this isn't
possible... I have Delphi 1, 2, 3, and 4 installed on the same
machine and have no problems...

> Obviously D4 is handling some things differently, because LOTS of
> areas of my code are in trouble. I'm getting EAccessViolation in
> several spots, one of which is in trying to test the return value of
> MessageDlg! I have used StrPChar several times - do I need to use New
> to create & set size of PChar variables before use? I did NOT with
> D3.

We can't help you with this unless you post some code...

Ken
--
Ken White

Clipper Functions for Delphi
http://members.aol.com/clipfunc

0 new messages