----- Original Message -----
Sent: Wednesday, September 05, 2001
2:42 PM
Subject: Re: [DUG]: DLLs
This kind of exception is horrible. I've had
it a couple of times, in different circumstances, so while I can't comment
on your exact situation maybe I can at least point you in the right
direction.
When this has happened to me, it usually
boils down to something being accessed that has already been freed. For
example, a form that was created with Application.CreateForm was freed
manually elsewhere and then the app raised an exception when it exited.
Perhaps you have code that is trying to reference the form after it is
freed? Alternatively, this type of error also manifests sometimes if you
are passing strings back and forth with the DLL and you don't have
sharemem as the first unit in the uses clause.
Maybe helpful, maybe not.
Phil.
----- Original Message -----
Sent: Friday, August 31, 2001 2:23
PM
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