Iames Pizzoli wrote on 2010-10-18: 
> Hi all,
> 
> In the starting phase, my code does the following:
> 
> loReg = NEWOBJECT( "Registry", "WWRegistry.prg" )
> 
> lnRegHandle = 0
> 
> lnResult    = RegOpenKey( HKEY_LOCAL_MACHINE, "Software\LOCASIT",
> @lnRegHandle )
> 
> IF lnResult # 0
> 
> etc etc...
> 
>       Since I know the key is there, I don't know why lnResult appears now
> to be 2 (signalling there's a problem) instead of 0, as it should be,
> and as it has always been before (under XP Pro 32bit, Vista Business
> 32bit and Win 7 Pro 32bit). Is it a 64bit thingy? 
> 
>       Can someone shed some light on this?
> 

Iames,

If you are running a 32 bit application on a 64 bit OS, the registry is
redirected to HKLM\Software\Wow6432Node. The only thing you need to be sure
to do is create the registry entry from a 32 bit application. Or create it
manually for yourself.


Tracy Pearson
PowerChurch Software




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000d01cb6ecb$6c8b3530$45a19f...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to