| Why don't you use CFile :
AfxMessageBox("Unable to Read File");
char * str=new char;
str is the buffer that contains data retrieved from the file .
Does this solve your problem????
Now you can use file.Seek() to get the data from a certain location in the file
-- modified at 22:57 Tuesday 24th January, 2006