Hi all,

        some days ago I went from Win7 Pro 32bit to Win7 Pro 64bit on my dev
machine. I've just been requested to make a little modification to an old
app, which was quite easy, and I was trying to run it to test what I've
done. 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? I've even used Regedit to give full
permissions to Everyone on the above key, but nothing changed. Or is a
problem with that West Wing registry class?

        To be clear, that piece of code isn't touched since I've delivered
this app years ago, so I'm fairly sure it's a problem with the environment
I'm using now.

        Can someone shed some light on this?

        Thanks in advance.

Iames



_______________________________________________
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/[email protected]
** 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