Can someone please tell me why I get an error 516 when I compile this (inside a button click function)....
Dim a As Dword
Let a=FF_GetRegistryDWord %hkey_current_user, "Control Panel\Desktop", "foregroundlocktimeout", 11
I have been trying for a week to read this registry value and cannot get this to work.
Thanks
Patrick
Quote from: Patrick HarveyCan someone please tell me why I get an error 516 when I compile this (inside a button click function)....
Dim a As Dword
Let a=FF_GetRegistryDWord %hkey_current_user, "Control Panel\Desktop", "foregroundlocktimeout", 11
I have been trying for a week to read this registry value and cannot get this to work.
Thanks
Patrick
Hi Patrick,
I emailed you a couple of days about this with the suggestion to wrap the function in parenthesis. Try this:
a=FF_GetRegistryDWord( %hkey_current_user, "Control Panel\Desktop", "foregroundlocktimeout", 11)
Hi Paul:
I tried it and got the same error.... please see screen snap below
(https://www.planetsquires.com/protect/forum/proxy.php?request=http%3A%2F%2Fwww.patricksarchive2.com%2Fpaul.jpg&hash=0ad9a55f404a80b718edf262694f5635338307de)[/img]
hmmm.... right you are. Maybe I have the old version of the wrapper file in the last release. Arrrrrrrgh! I will get the latest file and email you. Sorry.