Using API function ReadFile()
Using ReadFile()
Hello,
I would like to use a configuration file with my application, and use the ReadFile function (unless there is an even better way) to retrieve data from it. How would I go about retrieving data from a specific area in a text file?
For example:
In a file with several values I want to retrieve "Address," which, in this case, is "Whatever?"
Name: Whatever
Age: 11
Address: Whatever
Telephone Number: 555-5555
Can the SetFilePointer() function be used, in conjunction with ReadFile, of course, for this purpose? If so, how exactly?
Thanks in advance
Echidna