Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing numeric values in registry...
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00093416
Message ID:
00093471
Views:
27
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform