MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010759 | CMake | CMake | public | 2010-05-26 03:50 | 2011-05-02 14:45 |
| Reporter | Axel Gembe | ||||
| Assigned To | David Cole | ||||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||
| Summary | 0010759: Fix WOW64 registry mode on Windows 2000 | ||||
| Description | CMake 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. | ||||
| Steps To Reproduce | |||||
| Additional Information | I tested the patch on Windows 2000, will test on Windows 7 soon. | ||||
| Tags | 2000, registry, win2k, wow64, wow64 win2k 2000 registry | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/3138/win2k-reg-wow64.patch https://public.kitware.com/Bug/file/3139/win2k-reg-wow64-signed-off.patch | ||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||