Need help with syntax - firefly 2.0

Started by Patrick Harvey, April 28, 2005, 07:38:21 PM

Previous topic - Next topic

Patrick Harvey

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

TechSupport

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)

Patrick Harvey

Hi Paul:

I tried it and got the same error....  please see screen snap below

[/img]

TechSupport

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.