General information
Category:
Windows API functions
Title:
Accessing the Windows 7 Registry
I'm having problems getting consistent access to the Windows 7 Windows Registry. I've used the Registry.vcx distributed with VFP 9.0 as well as Codemine's cmRegGetValue function and the WScript.Shell's module. I get different results with each. Each attempt is "successful" meaning that I get a return value of .T. or 0, but the value that gets returned varies. Sometimes, the stored value (a 12-character value) is returned as a 9-character string, sometime as a 10-character string followed by binary (or mixed) garbage.
The attached image shows a couple of examples.
Wonder if anyone's had similar problems and has found a work-around.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only