Johnny,That's because you're not reading a value, but a key. FEATURE_BROWSER_EMULATION is not a leaf value but a registry node key.
To retrieve a value from that hive looks like this:
#INCLUDE wconnect.hDO wwapiLOCAL loAPI as wwAPI
loApi = CREATEOBJECT("wwAPI")
? loAPI.ReadRegistryString(HKEY_LOCAL_MACHINE, ;"SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION", ;"Skype.exe",;
.T.)
+++ Rick ---
I'm trying to use wwAPI to read registry strings, I used ot use this routine on 32-based systems but it does not work on 64-bit Windows 7. I assume the problem is the fact my OS is 64 bit.
Whihcever key I try to read I get a NULL.
What's the problem? any help will be greatly appreciated.
==================
loAPI = CREATEOBJECT("wwAPI")
? loAPI.ReadRegistryString(HKEY_LOCAL_MACHINE, "SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\", "FEATURE_BROWSER_EMULATION")
==================