bad registry Key

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
ace16vitamine
Posts: 97
Joined: Fri Apr 13, 2018 1:53 pm

bad registry Key

Post by ace16vitamine » Mon Jun 08, 2020 8:30 pm

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

ace16vitamine
Posts: 97
Joined: Fri Apr 13, 2018 1:53 pm

Re: bad registry Key

Post by ace16vitamine » Wed Jun 10, 2020 11:09 pm

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 8414
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: bad registry Key

Post by FourthWorld » Wed Jun 10, 2020 11:20 pm

Good sleuthing, Stefan. Thanks for the update.
Richard Gaskin
LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Windows”