----- Original Message -----
Sent: Thursday, August 14, 2003 9:51
AM
Subject: Re: [DUG]: Help - Dll all
broke
Thanks for the reply Phil
Unfortunately I also get the error in the App
which completely kills it (just shuts down). I have played with the code
and removed all calls to the dll, the error still occurs when simply loading
(loadLibrary) and closing (FreeLibrary). Their is no construction /
Destruction code in the Dll. My only thought is it may be related to the
DLL being opened by a thread, although the open and close is taking place in
the same procedure.
Rob Martin
Software Engineer
phone 03 377 0495
fax 03
377 0496
web
www.chreos.com
----- Original Message -----
Sent: Thursday, August 14, 2003 8:07
AM
Subject: Re: [DUG]: Help - Dll all
broke
Rob,
do you get that exception when running from
inside the IDE or also when you are running the program normally (ie from
explorer etc)? I was using a 3rd party DLL and had the same exception raised
(too many consecutive exceptions) and spent ages tracking it down but
couldn't (didn't have access to the source code) - in the end it was an
exception that only occured when running from inside the IDE. I don't think
it was related to the FreeLibrary command but it's possibly worth
trying.
Phil.
----- Original Message -----
Sent: Wednesday, August 13, 2003 4:31
PM
Subject: [DUG]: Help - Dll all
broke
Hi
I am going out to a client have just
recompiled their DLL file to work with the latest version of our
app. The last time we built the dll it was under D4 and has been
running under the D4 version of our app. Both the APP and the DLL
are now build in D6, none of the code has changed but I now get an
exception (too many consecutive exceptions) when calling
FreeLibrary.
I have done practically nothing with the dll
prior to calling FreeLibrary, called the same function 2x which returns a
string (sharemem is in the uses).
A number of other DLLs for other clients all
work perfectly.
Help any ideas greatly
appreciated.
Rob Martin
Software
Engineer
phone 03 377 0495
fax 03 377
0496
web www.chreos.com