Overview
| Artifact ID: | a21e2f4d3a24e35439ac1cbc836f67d611c4fffb |
|---|---|
| Ticket: | 775976ffffffffffffffffffffffffffffffffff
registry tests fail when built with VC7 |
| User & Date: | patthoyts on 2003-07-22 23:39:49 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed to:
The registry package fails in 'registry set' when built with the VC7 compiler. The problem comes down to the lpClass parameter to RegCreateKeyEx. Currently this is "" which is a const literal string. However, the parameter is passed as a LPTSTR which isn't const. With this compiler, this causes an invalid memory access fault. Using NULL fixes the problem.
- foundin changed to: "obsolete: 8.5a0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "patthoyts"
- subsystem changed to: "32. registry Package"
- title changed to: "registry tests fail when built with VC7"
- type changed to: "Bug"