In the dpr file, I have to had to put in try except block as follows. 
 Otheriwse on certain exceptions in in the initializtion of units it 
is nonsense to carry on running the application.  The user would just 
get so many useless exceptions and possible corruption of database.

The problem is that when an exception does occur, it is still 
followed by two other exceptions deep in the VCL.  Does anyone know 
how I can fix this ?  Is there a better way of doing this ?

The old way of halt and exitproc chain used to work much better.  :-)


begin
  Application.Initialize;
  try
    Application.CreateForm(TfrmTimer, frmTimer);
    Application.Run;
  except
    raise;
  end;    
end.

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to