如何让IE浏览器中的64位COM ActiveX对象的工作? [英] How to make COM ActiveX object work in IE 64 bit?

查看:146
本文介绍了如何让IE浏览器中的64位COM ActiveX对象的工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有使用COM对象内嵌在ASP.NET页面<对象的classid =CLSID:XXX ......> 。它可以在IE浏览器的32位,但在IE 64位不工作 - 不能访问它的函数。有没有错误信息,没有事件日志,我可以得到一些信息。

I have a COM object embeded in ASP.NET page using <object classid="clsid:XXX...">. It works in IE 32 bit, but does not work in IE 64 bit - can't access its functions. There are no error messages, no event logs where I can get some information.

该DLL是在C#中,包括COM可见的类,编译为任何CPU(虽然我也试过86),并通过执行regasm客户端安装过程中注册。这将创建注册表项,以及一切工作正常,除了IE浏览器64.我搜索网上有关该问题或至少一些guidlines,并没有发现任何东西。

The dll is in C#, includes COM visible class, compiled for Any CPU (though I also tried x86), and registered during client installation by executing regasm. This creates registry keys, well everything works fine except for IE 64. I searched internet about the issue or at least some guidlines and didn't find anything.

我收到一个答案在另一个论坛上,一些有关_MERGE_PROXYSTUB(我想这是preprocessor定义?)和ProxyStubClsid32注册表项,但不是很详细。好吧,我搜索了一遍,没有找到太多,尝试:重建与定义_MERGE_PROXYSTUB,创建ProxyStubClsid32键无处不在,但没有结果。

I received an answer on another forum, something about _MERGE_PROXYSTUB (I guess it's preprocessor definition?) and ProxyStubClsid32 registry key, but not very detailed. Well, I searched again, didn't find much, and experimented: rebuilt with _MERGE_PROXYSTUB defined, created ProxyStubClsid32 keys everywhere, but with no result.

有什么可以至少可能的解决方案或指向看?也许有一种方法至少要获得关于为什么IE 64无法访问日志?

What can be at least possible solutions or points to look at? Maybe there is a way at least to get the logs about why IE 64 can't access it?

推荐答案

值为anycpu将工作在一个64位程序,但你必须以不同的注册。使用64位版本的Regasm.exe,你会发现它在C:\ WINDOWS \ microsoft.net \ framework64。确认你在HKLM \ Software \ Classes下\ CLSID键,而不是在HKLM \ SOFTWARE \ Wow6432Node \类\ CLSID。

AnyCPU will work in a 64-bit program, but you have to register it differently. Use the 64-bit version of Regasm.exe, you'll find it in c:\windows\microsoft.net\framework64. Verify that you get the keys in HKLM\Software\Classes\CLSID, not in HKLM\Software\Wow6432Node\Classes\CLSID.

这篇关于如何让IE浏览器中的64位COM ActiveX对象的工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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