Sounds like a memory leak or some component has not been notified that another form/component has been destroyed.
 
I would first of all use a memory checking tool as a first step.
 
Myles.
 
-----Original Message-----
From: Steve Aish [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 17 July 2001 12:27 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: How to track this one down...

I have an interesting bug that has just turned up.
 
I have been developing a program for the last 3 months - on and off.  Suddenly whenever I close the program after running it I get the following error:
 
Project POSVis.exe raised Exception Class EInvalidPointer with Message 'Invalid Pointer Operation'. Process Stopped. Use step or run to continue.
 
After pressing OK and continuing I get 'Runtime Error 217 at 00003F02'
 
The annoying thing is that it is after all my code is run and the program is doing it's automatic clean up thing.
 
If I step through the code after the exception is raised it stops at:
 
  Application.CreateForm(TMain, Main);
  Application.CreateForm(TUpdateDatabase, UpdateDatabase);
  Application.CreateForm(TWaiting, Waiting);
  Application.Run;
end.   <----- code stops here
 
I can't figure out how one would step through the code after this.
 
The only way of getting rid of this is to delete about half of my forms...  Does anyone know how to step through the cleanup process?
 
Steve

Reply via email to