D
doublemaster007
Hi
How to read binary files in MAC OS?
FILE *readFile = fopen("filename", "rb");
then reading it like this:
count=fread(readBuffer, sizeof(char), bufferSize, readFile)
This works in windows for all type of files. But in Mac os fread fails
to read from application (.app) and plugins etc. However it succeeds
in reading zip files. [even zip file of a application]
Is it failing becoz in Mac os application are like folders or is there
any other reson?
How to read binary files in MAC OS?
FILE *readFile = fopen("filename", "rb");
then reading it like this:
count=fread(readBuffer, sizeof(char), bufferSize, readFile)
This works in windows for all type of files. But in Mac os fread fails
to read from application (.app) and plugins etc. However it succeeds
in reading zip files. [even zip file of a application]
Is it failing becoz in Mac os application are like folders or is there
any other reson?