gpt4 book ai didi

vb6 - 使用 VB6 应用程序中的 ImageList 导致 Windows 7.0 64 位崩溃

转载 作者:行者123 更新时间:2023-12-04 13:25:09 32 4
gpt4 key购买 nike

我有一个旧的 VB6 应用程序,它使用 COMCTL32.OCX(“Microsoft Windows Common Controls 5.0 (SP2)”)中的 ImageList 控件来为 TreeViews 和 ListViews 提供图标。

该应用程序甚至无法在 Windows 7.0 64 位上启动。它尝试加载具有 ImageList 的表单的那一刻,它崩溃了(嗯,实际上,应用程序眨眼,退出无踪)。

从表单中删除 ImageList 解决了这个问题。

有任何想法吗?

最佳答案

我通过将 VB5 附带的 COMCTL32.OCX 的所有实例替换为 VB6 附带的 MSCOMCTL.OCX 解决了这个问题。

Microsoft 知识库文章 190952有这样做的说明。这几乎只是一个全局搜索和替换操作。

关于vb6 - 使用 VB6 应用程序中的 ImageList 导致 Windows 7.0 64 位崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1018942/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com