I am trying to use the CSO2 function named:
get_reg_value(). I am using it in this format:
rc = get_reg_value(HKEY_LOCAL_MACHINE, "SOFTWARE\MyDir\ABCD\Saved\versionInformation\ 0", "internalProductName", val);
Now, it looks like WR is having a problem with the last character in the path which is in this case the number 0. I get a return code = 6 for the funciton and null string in hte val parameter.
In the next case, the function works great, and returns the correct value:
rc2y = get_reg_value(HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\DirectX", "Version", ver);
Can someone please enhance on the issue that is caused here? Could it really be a problem with the number 0 as I am assuming?