32位应用程序访问64位注册表 [英] 32bit application access to 64bit registry

查看:409
本文介绍了32位应用程序访问64位注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个OS壳牌写在32位被替换Vista计算机的Explorer.exe的。 我跑这也是写在32位,这使得在资源管理器外壳和我的壳之间切换的工具。对于某些机器被64位基于我不能改变HKLM \微软\电流\ Shell项(短期形成的注册表项)。我最终得到截获WOW64子项重定向..和有效地改变外壳的关键不占地方。微软BS一下实时重定向是不完全正确的。这是一个关键的,除非你重新启动整个机器没有重定向。

I have an OS Shell written in 32bit that is replacing the Explorer.exe of a Vista machine. I run a utility which is also written in 32bit, which allows to switch between the Explorer shell and My shell. With some of the machines being 64bit based I can not Alter the HKLM\Microsoft\current\shell Key (short formed reg key). I end up getting intercepted by the WOW64 subkey redirection.. and effectively the changes to the shell key do not take place. Microsofts BS about realtime Redirection is not exactly true. That is one key that does not redirect unless you restart the whole-machine.

所以我要寻找一个解决方案,请更新重定向的关键,并加载它。

So I am looking for a solution to Either UPDATE that redirected key and have it load.

壳牌更换销售软件点。我的GUI实用程序将运行32位命令只提示或批处理文件作为32位运行。

The Shell replacement is a Point of Sales software. My GUI utility will run 32bit command prompts only or batch files run as 32bit..

我可以执行或调用另一个批处理文件就像从一个32位的64位?

Can I Execute or call another batch file like a 64bit from a 32bit ?

推荐答案

检查出的 MSDN 关于如何访问你想要的确切蜂巢细节

Check out MSDN for details on how to access the exact hive you want

KEY_WOW64_64KEY 和    KEY_WOW64_32KEY 标志启用明确   访问64位注册表视图   32位图,分别

The KEY_WOW64_64KEY and KEY_WOW64_32KEY flags enable explicit access to the 64-bit registry view and the 32-bit view, respectively.

这篇关于32位应用程序访问64位注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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