Jim <ji*@magrathea.plus.comwrites:
On 2007-10-26, do*************@gmail.com <do*************@gmail.comwrote:
>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?
MacOS .app files arn't like folders - they *are* folders.
You might be better asking here: comp.sys.mac.programmer.help
And when you do, you should tell them *how* it fails.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"