About madkernel modules enumeration

delphi package - easy access to kernel objects etc.
Post Reply
Mazinger
Posts: 33
Joined: Wed Jan 26, 2005 6:26 am

About madkernel modules enumeration

Post by Mazinger »

Hi,

I have a program that uses LoadLibrary and FreeLibrary API function to play with a DLL.

The question is: After FreeLibrary is called without error, if I use madkernel.modules(true) and walk throught the list of returned modules, I find my library. Why?

Thanks.
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Hmmmm... What does GetModuleHandle('Your.dll') return? Maybe it's really still loaded?
Post Reply