AHAH!!!  I fixed this by removing 'ShareMem' from one of my Uses clauses.  Could you imagine how long this would take to find if you had no idea what the problem was - searching through 12,000 lines of code?
 
I just love these challenges (tone dripping of sarcasm).
 
What is this?  I put this there because I am using an external DLL and read somewhere that you need one for some reason.
 
Interesting one...
 
Steve 
-----Original Message-----
From: Steve Aish [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 17 July 2001 12:27
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