Is there a way to read a registry value from a cobol program. I can do it in a VBscript with the regRead function but can not figure out how to do it in the program.
thanks - we have been trying to use Req_Query_value but do not get any value returned. We are trying to read a value that is in Local_machine so it should already be opened. We can get a return code of zero back but no values.
Sounds like you're using the rights APIs, all right. I've tried them all the way up to 6.2 and they look ok.
Your other option, which is what we were doing before AcuCorp provided the wrappers, is write a C/C++ DLL that does the job for you...
Also, I think you might need admin rights for the LOCAL_MACHINE branch. Without them, you might be able to open a node (or at least the wrapper API says you just did so), but may not be able to access the data.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.