“对象'〜'的方法'〜'失败”是什么?在运行时是什么意思? [英] What does "Method '~' of object '~' failed" at runtime mean?

查看:71
本文介绍了“对象'〜'的方法'〜'失败”是什么?在运行时是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在桌面上运行旧版VB6应用程序(它没有用户界面,是命令行应用程序),当我这样做时,我会看到一个消息框

I'm trying to run a legacy VB6 application on my desktop (it doesn't have a user interface, being a command-line app), and when I do, I get a message box saying

Run-time error '4099':

Method '~' of object '~' failed

这对我而言毫无意义;没有人知道出了什么问题吗?

This means nothing to me; does anyone have an idea what is going wrong?

推荐答案

在未正确注册支持库(dll或ocxs)时会发生这种情况或已安装库的版本与应用程序最初针对的版本不同(且不兼容)。

That can happen when supporting libraries (dlls or ocxs) are not registered properly or the versions of the installed libraries are different (and incompatible) with the version the app was compiled against originally.

确保所有依赖库均已注册且版本正确。

Make sure all dependent libraries are registered and the proper version.

您可能必须重新编译该应用程序才能使其与较新版本的支持库一起使用。

You may have to recompile the app to make it work with newer versions of the supporting libraries.

这篇关于“对象'〜'的方法'〜'失败”是什么?在运行时是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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