Regsvr32的奇怪行为 [英] Strange behaviour of Regsvr32

查看:76
本文介绍了Regsvr32的奇怪行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们有一个用VB6制作的应用程序,该应用程序使用的参考之一是MSADO10.DLL(1.0.1.19).注册所需的DLL和OCX文件后,该应用程序在Win XP,Win 7(32位)中运行良好.现在,要求在Win 7(64位)上进行兼容性测试,所有DLL和OCX均已在Win 7(64b)计算机上成功注册,但MSADO10.DLL已成功注册.

当我注册MSADO10.DLL时,我没有收到来自regsvr32的响应(成功或失败)(命令中未提供任何静默参数).我还发现,在任务管理器的进程"部分下,它显示regsvr32为活动状态.请注意,我能够注册除MSADO10.DLL以外的其他DLL和OCX文件.

我能够在xp和WIN 7 32b中注册MSADO10.DLL,并且Regsvr32在注册后会提示成功消息.但是,当我在Win 7 64位中注册它时,情况并非如此.我忘了说我在SysWOW64下使用命令提示符(32位).

如果有人可以在这方面帮助我,那对我来说将是极大的帮助.

谢谢,
Hassan

Hello All,

We have an application made in VB6 one of the reference used by the application is MSADO10.DLL (1.0.1.19). The application works great in Win xp, Win 7 (32 bit) after registering the required DLL and OCX files. Now the requirement is to do a compatibility testing on Win 7 (64 Bit) all the DLL and OCX have been registered successfully on the Win 7 (64b) machine but MSADO10.DLL.

When i register MSADO10.DLL i get no response(Success or failure) from regsvr32 (no silent argument given in the command). I also found out that in task manager under process section it was showing regsvr32 as active. Please note that i am able to register other DLL and OCX file except MSADO10.DLL.

I am able to register MSADO10.DLL in xp and WIN 7 32b and Regsvr32 prompts the success message after registering. But this is not the case when i register it in Win 7 64 bit. I forgot to say i use the Command Prompt(32bit) under SysWOW64.

If anyone can help me in this regards it would mean a great help to me.

Thanks,
Hassan

推荐答案

这种情况经常发生...
尝试将完整路径传递给MSADO10.dll.
如果没有帮助,请按照以下链接:
http://support.microsoft.com/kb/2517589 [ http://msdn.microsoft.com/zh-我们/library/windows/desktop/ms692877%28v=vs.85%29.aspx [
This is quite often occurence...
Try to pass the full path to MSADO10.dll.
If it won''t help, follow these links:
http://support.microsoft.com/kb/2517589[^]
http://msdn.microsoft.com/en-us/library/windows/desktop/ms692877%28v=vs.85%29.aspx[^]


这篇关于Regsvr32的奇怪行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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