可以强制注册到64位的注册表中,就不存在这样的问题啦。 By default, a 32-bit application running on WOW64 accesses the 32-bit registry view and a 64-bit application accesses the 64-bit registry view. The following flags enable 32-bit applications to access reflected keys in the 64-bit registry view and 64-bit applications to access reflected keys in the 32-bit registry view.Flag name Value Description
KEY_WOW64_64KEY 0x0100 Access a 64-bit key from either a 32-bit or 64-bit application. Windows 2000: This flag is not supported.
KEY_WOW64_32KEY 0x0200 Access a 32-bit key from either a 32-bit or 64-bit application. Windows 2000: This flag is not supported. These flags can be specified in the samDesired parameter of the following registry functions:· RegCreateKeyEx · RegDeleteKeyEx · RegOpenKeyEx
By default, a 32-bit application running on WOW64 accesses the 32-bit registry view and a 64-bit application accesses the 64-bit registry view. The following flags enable 32-bit applications to access reflected keys in the 64-bit registry view and 64-bit applications to access reflected keys in the 32-bit registry view.Flag name
Value
Description
KEY_WOW64_64KEY
0x0100
Access a 64-bit key from either a 32-bit or 64-bit application. Windows 2000: This flag is not supported.
KEY_WOW64_32KEY
0x0200
Access a 32-bit key from either a 32-bit or 64-bit application. Windows 2000: This flag is not supported.
These flags can be specified in the samDesired parameter of the following registry functions:· RegCreateKeyEx · RegDeleteKeyEx · RegOpenKeyEx