OK - time for the "WTF" ???
64-bit version of the O/S. Kix is 32-bit. Answer is WOW6432. Everything's fine, until...
You READ THE F!#($!@#ing Registry!
"Access to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion is ''reflected'' to HKLM\Wow6432Node\Microsoft\Windows NT\CurrentVersion. A registry reflector copies certain values from the 64b to the 32b hives, resolving any conflicts with a Last Writer Wins approach."
Well, try to read simple values, like InstallDate or RegisteredOwner! These values are not "reflected". The InstallDate is 0, and RegisteredOwner is Microsoft! Maybe I need to install "Microsoft Mirror" for the reflections to occur?
OK - so this only affects things like 32b system inventory type tools, and only talking to 64b sysetms. Well, even the 32b system has some inconsistencies.
Query "ProductName" -
32b replies "Windows Vista (TM) Ultimate"
64b replies "Windows (TM) Vista Ultimate"
So, what's trademarked - Windows or Vista?
Aside from one change due to the migration to 64b technology (my Memory UDF), I've had to adjust, adapt, or rewrite at least half a dozen UDFs that use the registry to decide what kind of system it's running on. The problem I have is that it's inconsistent not only between XP to Vista, but between the same (Ultimate) version of Vista on x86 and x64.
OK - enough rant for today. Anyone got a solution? When is Kix64 coming out?
Glenn
_________________________
Actually I
am a Rocket Scientist!