Yes we do change TApplication (and bring it back).  We have discovered that not having an application.processmessages call before switching back always causes a crash.  So our current fix is to do several processessmessages (in a loop).  This seems to have reduced (removed ?) the problem.
 
Robert Martin
Software Engineer
Wild Software Ltd
----- Original Message -----
From: Jim Zheng
Sent: Tuesday, September 04, 2001 3:38 PM
Subject: RE: [DUG]: DLLs

If you change TApplication events, you have to bring that back.
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Martin
Sent: 2001年8月31日 14:23
To: Multiple recipients of list delphi
Subject: [DUG]: DLLs

We have a situation where sometimes (intermittantly) our app crashes after closing a form opened from a DLL.  I have traced the code to the FreeLibrary call which is within a try .. except but the exceptoin is not fireing.  I can step through and see the app call FreeLibrary but once I exit the procedure (containing the freeLibrary) the exception occurs.
 
Any ideas or suggestions would be appreciated.
 
 
Robert Martin
Software Engineer
Wild Software Ltd

Reply via email to