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