Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!accuvax.nwu.edu!anaxagoras!ils.nwu.edu!sandell From: sandell@ils.nwu.edu (Greg Sandell) Newsgroups: comp.sys.mac.programmer Subject: FSRead() limit on number of bytes Message-ID: <1335@anaxagoras.ils.nwu.edu> Date: 11 Aug 90 04:52:04 GMT Sender: news@anaxagoras.ils.nwu.edu Reply-To: sandell@ils.nwu.edu (Greg Sandell) Distribution: world Organization: The Institute for the Learning Sciences Lines: 19 Using FSRead() I find that I can read only a limited number of bytes at a time. In the code below byteCount can be as large as 1500 but when I use a value of 2000 the program dies a strange death: the disk light stays continuously lit (non-blinking) and the disk whirs forever until I reboot. byteCount = 1000L; FSRead(fRefNum, &byteCount, (char *)data); Has anybody run into this problem? Has it been documented? There is no mention of the limit in Mac Revealed or Inside Mac. Thanks in advance, Greg Sandell **************************************************************** * Greg Sandell (sandell@ils.nwu.edu) Evanston, IL * * Institute for the Learning Sciences, Northwestern University * ****************************************************************