Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing numeric values in registry...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00093416
Message ID:
00093471
Vues:
28
>>I have a fairly complete registry class that creates wrappers for all datatypes. It actually stores everything as strings, but will accept/return the datatype you want. I can whip up some docs and post it to teh files section, if people want...
>
>Hey Tim,
>
>Actually I (and i'm sure some others around here) could use something like that for retrieving and writing application specific registry entries...
>
>Unfortunately what i'm trying to read right now is written by another program, and it's not available in Character :(
>
>Still looking for ideas...
>
>-- Dave

Use the ASC() function for each character of the string. If my memory serves me well, there are four bytes in a numeric entry. First byte being lowest (1-255) second byte being next, etc. Should be able to calculate value from that.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform