in reply to Run time linked dll and memory leak
What sort of functions are you using and what are you doing with them? If you are using GDI functions, you may have to release objects, such as DCs, when you are done with them.