Click here to Skip to main content
15,914,406 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Please can somebody tell me how to clear the DLL API that is not used from memory in my application with Visual Basic 6...??? I wish to know the best answer.
Posted
Updated 13-Mar-10 9:00am
v2

I do not think you can.

When your application loads the DLL, it will remain in memory and stay there until your application closes.

The OS will then at some point in time clean up, and bin this cached library.

If you are testing and getting conflicts with in memory libraries, then I have previously found it necessary to shutdown and restart the computer to take it back to a clean state.
 
Share this answer
 
v2
I have used the program that calls DLL API... but with any runtime my program HANGS / gives an error and does not respond... my program contains API that calls ExtractIcon to load icon from DLL files... Please tell me what must I have done to make this normal..???
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900