how do you get the length of a file after you open it with fopen?
tried a search but it gave me about 600pages
Code:// open file
fp = fopen( szFileName, "rb");
if(!fp)
return 1; //error
// get the length
fp_length = _filelength((int)fp); //doesnt work. not made for FILE*