Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DLL unload -> CRASH

0 views
Skip to first unread message

dod...@hrz.teuto.de

unread,
Apr 22, 1995, 3:00:00 AM4/22/95
to
I wrote a DLL and use it in another exe. While I can access all the functions in it
and they do their work, as soon as I unload the DLL my programm crashes and I'm
on the DOS prompt. I executed the programm under Borland C++ 4.02, the functions
I use are exported classes. The programm itself loads and ends fine as long as
nowhere in it functions of the DLL are called. I don't understand why the
DLL doesn't unload correctly.
Any hints?

Stuart Booth

unread,
Apr 24, 1995, 3:00:00 AM4/24/95
to

Sounds as if something's still floating around using it. A recent MSJ had an
article by Matt Pietrek that supplied a utility called NukeDLL. It had a look
at all loaded DLLs and displayed their usage count. It also displays who
loaded it, if known. Otherwise if displays the number of LoadLibrary calls
to it. It ALSO has the ability, as the name suggests, to unload DLLs.

Stuart.

--
Stuart Booth
stu...@garage.demon.co.uk


0 new messages