为什么 SysWOW64 报告为 System32? [英] Why is SysWOW64 reported as System32?

查看:41
本文介绍了为什么 SysWOW64 报告为 System32?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在测试 Windows 服务.服务代码在尝试删除我在 %windir%SysWOW64 中创建的只读文件时失败,但记录的异常是:

I am testing a Windows service. The service code fails when it tries to delete a read only file I created in %windir%SysWOW64, but the exception that is logged is:

访问路径 'C:Windowssystem32CanvasImages62230.jpg' 是拒绝.

Access to the path 'C:Windowssystem32CanvasImages62230.jpg' is denied.

我知道 64 位 Windows 有很多关于这两个文件夹的技巧,并且了解一些,但一些准确的异常信息会很好.

I know 64 bit Windows has a whole lot of tricks up its sleeve concerning these two folders, and understand a little of it, but some accurate exception info would be nice.

推荐答案

有点混乱,但 SysWOW64 实际上是 64 位系统的 32 位模拟器.

It's a bit confusing, but SysWOW64 is actually the 32 bit emulator for 64 bit systems.

WOW 代表Windows on Windows",最初的 SysWOW 是 32 位 Windows 的 16 位模拟器(应该被称为 SysWOW32).所以 SysWOW64 是 64 位 Windows 的 32 位模拟器.

WOW stands for "Windows on Windows", and the original SysWOW was the 16 bit emulator for 32 Bit Windows (and should have been called SysWOW32). So SysWOW64 is the 32 bit emulator for 64 bit Windows.

因此,当您运行 32 位应用程序时,它使用 SysWOW64 来模拟 32 位注册表和 32 位重定向(例如到程序文件 (x86)).

So, when you run 32 bit applications, it uses SysWOW64 to emulate the 32 bit registry, and 32 bit redirection (to Program Files (x86) for instance).

这篇关于为什么 SysWOW64 报告为 System32?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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