 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Tue May 23, 2006 9:14 am Post subject: tmemorystream problem |
|
|
Hi,
We recently upgraded to bds4.0 from....... Delphi 3.0
I have code that works with D3 but <<not>> always with bds4.0.
The code in question is a class that has 62 variables that are
subclassed from Tmemorystream, it creates an exception when
called from the bdsproj file but works just fine after
Application.Run is running.
The reported error is
"EAccessviolation with message 'Access violation at address 004019AB
in module LTTview. Write of address 00000000'"
Afterwhich it jumps to Getmem.inc line 1627
mov TMediumFreeBlock[edx].PreviousFreeBlock, edi
I could go a hundred ways around this problem but I'd like to know
what is going on.
Thanks,
Andrew |
|
| Back to top |
|
 |
aj Guest
|
Posted: Thu Jun 01, 2006 1:19 pm Post subject: Re: tmemorystream problem |
|
|
Hi
I'm posting a follow up.
The error seems to be associated with a memory leak.
Now it throws an exception when cleaning up a TStringList !!
Can anyone recommed a leak checking program
for bds4?
Thanks
Andrew
andrew.mcdonald (AT) tasler (DOT) de wrote:
| Quote: | Hi,
We recently upgraded to bds4.0 from....... Delphi 3.0
I have code that works with D3 but <<not>> always with bds4.0.
The code in question is a class that has 62 variables that are
subclassed from Tmemorystream, it creates an exception when
called from the bdsproj file but works just fine after
Application.Run is running.
The reported error is
"EAccessviolation with message 'Access violation at address 004019AB
in module LTTview. Write of address 00000000'"
Afterwhich it jumps to Getmem.inc line 1627
mov TMediumFreeBlock[edx].PreviousFreeBlock, edi
I could go a hundred ways around this problem but I'd like to know
what is going on.
Thanks,
Andrew |
|
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Sat Jun 10, 2006 2:23 pm Post subject: Re: tmemorystream problem |
|
|
On 1 Jun 2006 01:19:45 -0700, aj wrote:
| Quote: | Can anyone recommed a leak checking program
for bds4?
|
Hoi Andrew
Cost money but is very good:
<http://www.automatedqa.com/products/aqtime/>
If you need more recommendation try posting in the
b.p.d.thirdpartytools.general newsgroup. Also when you repost you need to
be aware about the importance of posting to the Borland news server to make
everybody see your message and possibly answer.
How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|