如何使用Visual Basic 6从内存中清除我曾经使用过的DLL [英] How to clear the DLL that i've been used from memory with visual basic 6

查看:88
本文介绍了如何使用Visual Basic 6从内存中清除我曾经使用过的DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请有人告诉我如何使用Visual Basic 6从应用程序的内存中清除未使用的DLL API ... ???我想知道最好的答案.

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.

推荐答案

我认为你不能.

当您的应用程序加载DLL时,它将保留在内存中并保留在那里,直到您的应用程序关闭.

然后,操作系统将在某个时间点清理,并对该缓存的库进行装箱.

如果您正在测试并与内存库发生冲突,那么我以前发现有必要关闭并重新启动计算机,以使其恢复到干净状态.
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.


我已经使用了该程序会调用DLL API ...但是在任何运行时我的程序都无法执行/给出错误并且没有响应...我的程序包含调用ExtractIcon 从DLL文件中加载图标的API ...请告诉我我必须具备完成以使其正常.. ???
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..???


这篇关于如何使用Visual Basic 6从内存中清除我曾经使用过的DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆