I am used to using windows functions such as openfile, writefile. If I use seek, I can only use functions like fopen, so does the seek method of CFile have a windows version of the API?
In fact, my problem is this. MFC uses CFile.seek, write, read to start reading and writing from any position in the file, so how to use the API to implement it, readfile, writefile can only start from the beginning of the file.