Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Hex data out of a file into a string
Message
From
18/10/2000 17:58:19
 
 
To
18/10/2000 17:56:54
Josh Fedke
National Financial Corporation
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00431199
Message ID:
00431204
Views:
9
>Yes, that will probably be helpful, but the problem is that I don't even get valid ints or strings from fgets() since it interprets the hex values that are in the file as characters before returning the value to me. This won't work when it runs across a value like "3C"...

Use fread() instead of fgets().
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform