View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010759CMakeCMakepublic2010-05-26 03:502011-05-02 14:45
ReporterAxel Gembe 
Assigned ToDavid Cole 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0010759: Fix WOW64 registry mode on Windows 2000
DescriptionCMake fails to find any registry paths on Windows 2000 and according to regmon
it fails with an access denied error. I double checked all the access rights
and they are fine. After checking the access modes on MSDN I found that it says
KEY_WOW64_32KEY / KEY_WOW64_64KEY are not supported on Windows 2000. CMake does
not check if the current system supports Wow64 before applying these flags.

This patch adds a check for IsWow64Process in kernel32.dll before adding these
flags. Maybe this should be in a helper function, but I don't really know the
codebase well enough.
Additional InformationI tested the patch on Windows 2000, will test on Windows 7 soon.
Tags2000, registry, win2k, wow64, wow64 win2k 2000 registry
Attached Filespatch file icon win2k-reg-wow64.patch [^] (1,569 bytes) 2010-05-26 03:50 [Show Content]
patch file icon win2k-reg-wow64-signed-off.patch [^] (1,617 bytes) 2010-05-26 03:52 [Show Content]

 Relationships

  Notes
(0020819)
Axel Gembe (reporter)
2010-05-26 03:52

Forgot the Signed-off-by.
(0024504)
David Cole (manager)
2011-01-07 07:47

Fixed in this git commit, just pushed to 'master' and 'next':
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4b05a213028b09660d4651b46a1cc3f102c8ad97 [^]

Should make it into 2.8.4...

Thanks, Axel Gembe, for the patch!
(0026321)
David Cole (manager)
2011-05-02 14:45

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-05-26 03:50 Axel Gembe New Issue
2010-05-26 03:50 Axel Gembe File Added: win2k-reg-wow64.patch
2010-05-26 03:52 Axel Gembe File Added: win2k-reg-wow64-signed-off.patch
2010-05-26 03:52 Axel Gembe Note Added: 0020819
2010-05-26 04:06 Axel Gembe Tag Attached: wow64 win2k 2000 registry
2010-05-26 04:06 Axel Gembe Tag Attached: 2000
2010-05-26 04:06 Axel Gembe Tag Attached: registry
2010-05-26 04:06 Axel Gembe Tag Attached: win2k
2010-05-26 04:06 Axel Gembe Tag Attached: wow64
2010-05-26 09:39 Bill Hoffman Status new => assigned
2010-05-26 09:39 Bill Hoffman Assigned To => David Cole
2010-09-09 17:39 David Cole Priority normal => high
2010-11-10 21:09 David Cole Target Version => CMake 2.8.4
2011-01-07 07:47 David Cole Note Added: 0024504
2011-01-07 07:47 David Cole Status assigned => resolved
2011-01-07 07:47 David Cole Fixed in Version => CMake 2.8.4
2011-01-07 07:47 David Cole Resolution open => fixed
2011-05-02 14:45 David Cole Note Added: 0026321
2011-05-02 14:45 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team