<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 30/03/2012 16:11, Daniel Simoes de Ameida wrote:
<blockquote
cite="mid:1333120267.98307.YahooMailNeo@web161406.mail.bf1.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: Courier
New,courier,monaco,monospace,sans-serif; font-size: 10pt;">
<div>Bingo...<br>
<br>
Is the HeapTrace.. I just removed HeapTrace Unit from Linking
and the problem has gone... <br>
</div>
</div>
</blockquote>
<br>
No it has not gone.<br>
<br>
It is only hidden. That means you lowered the likelihood of it
happening.<br>
<br>
The code still accesses an object that does not exist. That means
random memory.<br>
Without heaptrc, you simple got better likelihood, that this random
memory contains data, that does not cause a crash. <br>
But the bug is still there. It may still crash...<br>
<br>
Since it happens at form close, maybe you freed some component in
your code?<br>
Changed owner of a component (moving to other form)?<br>
</body>
</html>