Page 1 of 1

bad registry Key

Posted: Mon Jun 08, 2020 8:30 pm
by ace16vitamine
Dear all,

I have a smal problem and I do not understand why.

Code: Select all

 put queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\TEST\Path") into tPath
is working in livecode without any problems. But if I start the standalone application it is not working. Error: Bad Key.

The think is I can start the registry editor and I can the the value (with the same User). But why?

Thanks
Stef

Re: bad registry Key

Posted: Wed Jun 10, 2020 11:09 pm
by ace16vitamine
OK, problem was found......

....32/64 bit architecture is the magic word... A 32bit application is not able to access the 64bit registry on a windows system :oops:

Regs
Stefan

Re: bad registry Key

Posted: Wed Jun 10, 2020 11:20 pm
by FourthWorld
Good sleuthing, Stefan. Thanks for the update.