Daniel,
Daniel Garcia-Gil wrote:What version do you use...??
one year ago the class and function was modified
I'm still on FWH905 but, unless you've already provided that optional flag, the need is independent by the programming language/version.
As you can see at
http://msdn.microsoft.com/en-us/library ... 85%29.aspx By default, a 32-bit application running on WOW64 accesses the 32-bit registry view and a 64-bit application accesses the 64-bit registry view.
The problem is that, for example the HKLM/Software tree is DIFFERENT on the 2 registries, and actually FWH32 can read just the 32bit one (a 64bit-only program installed on Win64 cannot be found in the 32bit registry tree, even though the FWH32 program could shellexecute it without problems). That's why I modified Treg32 to read EVEN the 64bit registry (if you specifically want to do it in the New() clause)
Hi,
Davide
P.S.: The same additional parameter is needed even in the registry functions included in \source\winapi\regedit.c