FreeLibrary function.

This is the forum for general discussion.

Moderator: 2ffat

Post Reply
barisirhan
Posts: 4
Joined: Thu Oct 22, 2009 5:17 am

FreeLibrary function.

Post by barisirhan »

Hi everybody,

Well. I have a problem and I hope somebody around here could come up with an idea how to solve it. I use LoadLibrary() and FreeLibrary() functions to dynamically link and unlink a DLL to my program. Everything works fine but what I have realized is that after call to FreeLibrary function total amount of memory allocated during LoadLibrary function is NOT totall freed but partly. Is there anybody who has an idea how to free this small amount of memory. Thank you...
rlebeau
BCBJ Author
BCBJ Author
Posts: 1716
Joined: Wed Jun 01, 2005 3:21 am
Location: California, USA
Contact:

Re: FreeLibrary function.

Post by rlebeau »

barisirhan wrote:Everything works fine but what I have realized is that after call to FreeLibrary function total amount of memory allocated during LoadLibrary function is NOT totall freed but partly.
That could just be normal memory caching, or it could be a true memory leak. There is no way to know, or do anything about, unless you have the DLL's source code to recompile with.
Remy Lebeau (TeamB)
Lebeau Software
Post Reply