Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RegQueryValue in FoxFire
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
RegQueryValue in FoxFire
Divers
Thread ID:
00688465
Message ID:
00688465
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform