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