如何从 VB6 编译条目中清除我的注册表? [英] How can I clean my registry from VB6 compile entries?

查看:48
本文介绍了如何从 VB6 编译条目中清除我的注册表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Arvo 对我的问题的回答 此处,他指出每次编译都会污染注册表,提示我询问有没有办法清除我的编译和构建创建的条目注册表?

Arvo's answer to my question here, where he points out that every compile polutes the registry prompts me to ask Is there a way I can clean out my registry of entries created by compile and builds?

推荐答案

VB6 只有在您频繁更改库的 COM 接口时才真正泄漏"COM 注册条目.在 VB6 中没有自动方法来清理这些,除非你去 3rd 方注册表清理器(不推荐).

VB6 only really "leaks" COM registration entries when you frequently change COM interfaces of a library. There is no autmated way within VB6 to clean these up, unless you go to a 3rd party registry cleaner (not recomended).

您可以通过在编译 COM 对象时非常小心来减少初始问题,并确保保持二进制兼容性,并在添加任何新类或方法后立即更新兼容库,或者在每次编译之前取消注册旧 DLL.

You can reduce the initial problem by being VERY careful when compiling COM objects and make sure you maintain binary compatability, and update you compatable library as soon as you add any new classes or methods, or unregister the old DLL before each compile.

这篇关于如何从 VB6 编译条目中清除我的注册表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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