registry tests fail when built with VC7
Closed / Fixed775976ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-07-22 23:39:49
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.
patthoytsplain2003-07-23 06:43:16
Logged In: YES user_id=202636 I've checked this with VC6 and VC7 and committed the 4 char fix to the head.
patthoytsplain2003-07-23 06:50:50
Logged In: YES user_id=202636 Backported the fix into the core-8-4-branch.
Log in (anonymous is fine) to add a comment.