win7 64位下的ActiveX EXE注册quandry。 [英] ActiveX EXE registration quandry under win7 64 bit.

查看:86
本文介绍了win7 64位下的ActiveX EXE注册quandry。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该首先说,这个问题可能不仅限于win7 x64,因为我还没有测试过任何其他操作系统,但我可以说我没有遇到过XP 32bit的问题。



我为一个更大的64位商业应用程序写了一个64位COM插件DLL

我的DLL启动并与之对话,一个过程中的UI 32位VB6 ACTIVEX EXE。



我正在运行MS安装程序,其后安装批处理文件运行熟悉的

exefilename / registerserver命令关于activex exe以及一些VB6运行时组件的一些成功的regsvr32。



我可以让activex exe注册的唯一方法是运行宿主应用程序管理员一次加载我的DLL。之后以管理员身份运行,所有后续运行

然后工作正常。即使整个shebang在卸载中,大概是

离开了activex exe注册。



所以我做一个恢复点回到sqaure one和一个处女注册表再试一次....



我已经运行批处理文件,手动执行/ registerserver命令作为管理员

并且似乎没有注册。



我的用户帐户是测试台上的管理员。



我应该注意,如果32位版本的主机应用程序运行32位版本

我的COM dll然后没有什么变化更好。



UAC开启。



现在这是beta测试人员发布说明中的一个已知问题,但希望不会长久。



我记得,Vista是好的 - 但安装测试还有一段时间。安装程序和它的后期安装批处理文件后的
没有改变。我在VISTA下开发了这个安装程序。



任何见解?



:Ron

I should say at the outset that this problem may not be limited to win7 x64 as I just haven''t tested any other OSes yet except I can say that I have not had a problem with XP 32bit.

I wrote a 64 bit COM plug DLL for a larger 64 bit commercial application
My DLL starts and talks to, a UI that is an out of process 32 bit VB6 ACTIVEX EXE.

I am running a MS installer with a post install batch file that runs the familiar
exefilename / registerserver command on the activex exe as well as some successful regsvr32 of some VB6 runtime components.

The only way I can get the activex exe to register is to run the host application as administrator once with my dll loaded. After that one run as admin, all subsequent runs
then work fine. Even if the whole shebang in uninstalled which presumably
is leaving the activex exe registration behind.

So I do a restore point back to sqaure one and a virgin registry and try again....

I have run the batch file that executes the /registerserver command as administrator by hand
and that does not seem to register is either.

My user account is an administrator on the test bed.

I should note that if a 32 bit version of the host application is run with a 32 bit version of
my COM dll then nothing changes for the better.

UAC is on.

Right now this is a "known issue" in the release notes to the beta testers but hopefully not for long.

As I recall, Vista was ok - but the install testing was a while back. The installer and it''s
post install batch file has not changed since then. I developed this installer under VISTA.

Any insights?

:Ron

推荐答案

Bingo是他的名字o!



MSCOMCT2.OCX存在,但默认情况下未在x64 SP1中注册



现在可以使用
And Bingo was his name o!

MSCOMCT2.OCX exists but is not registered by default in x64 SP1

Now it works


这篇关于win7 64位下的ActiveX EXE注册quandry。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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