Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegQueryValue in FoxFire
Message
From
11/08/2002 23:20:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
RegQueryValue in FoxFire
Miscellaneous
Thread ID:
00688465
Message ID:
00688465
Views:
66
Hi, I am having trouble with some foxtools API calls via REGFN() / CALLFN.

I have replaced most of them with DECLARE statements, but I have one that I can't change as it uses SHELL.DLL which is a 16-bit dll, and won't work with DECLARE.
Does anyone know another command I can use? here is the code
ln_regqry = REGFN("RegQueryValue","L@C@C@L","L","SHELL.DLL")
*-- Set up buffers
lc_buffer = space(255)
ln_buflen = 255
lc_regname = "Excel.Sheet.5\protocol\StdFileEditing\server"
ln_bytes = CALLFN(ln_regqry,1,@lc_regname,@lc_buffer,@ln_buflen)
Thanks,
- Craig

"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson
Next
Reply
Map
View

Click here to load this message in the networking platform