I have a problem to port the fopen and fclose and subsequent file operation calls to windows calls.
I mean when we use a fopen call on a file I get a file pointer which I can use with fscanf, fprintf, ftell, fseek calls to do my file operations.
But now I need to use createfile() call to open the file which will give me a HANDLE to the file, this HANDLE cannot be used with the file operation calls.
1. Can some body let me know the equivalent of fscanf, fprintf, ftell, fseek etc., other file operation calls that I can use with the HANDLE returned by the createfile().
2. Can we change the HANDLE to a File pointer so that we can use fseek, fprintf.