In one of our application im getting an exception that i can not seem to find or trap.
... Application.CreateForm(TFrmMain, FrmMain); outputdebugstring(pansichar('Application Run')); //this is printed Application.Run; outputdebugstring(pansichar('Application Run After')); //this is printed end. <--- The Exception seems to be here
The Event log shows
> ODS: Application Run > //Various Application Messages > ODS: Application Run After > First Change Exception at $xxxxxxxx. ...etc
All i can think of is it is the finalization code of one of the units.
(Delphi 7)
Try installing MadExcept – it should catch the exception and give you a stack-trace.
It helped me when I had a similar issue.