Path: utzoo!mnetor!uunet!husc6!hao!ames!lll-lcc!pyramid!prls!gardner From: gardner@prls.UUCP (Robert Gardner) Newsgroups: comp.sys.mac Subject: Another SFGetFile question Message-ID: <8157@prls.UUCP> Date: 21 Dec 87 23:35:16 GMT References: <508@vub.UUCP> <3600016@iuvax> <8119@prls.UUCP> <7068@apple.UUCP> Reply-To: gardner@prls.UUCP (Robert Gardner) Organization: Philips Research Labs, Sunnyvale, California Lines: 19 I tried posting this earlier but it apparently got lost. Sorry if this subject appears twice... I have another problem with SFGetFile() (the responses to the last one were much appreciated). I want to filter out all open files. I have tried just checking the ioRefNum field since IM says that this will contain the file's reference number if the file is open (but it doesn't say what it will contain if the file is closed!). If ioRefNum is 0 then I assume the file is closed. This works fine on the Mac+ but does NOT work on 64K ROM machines. On 64K ROM machines my filter thinks that EVERY file is open. Since this works on 128K ROMs but not on 64K ROMs I am worried about how it will work on newer machines. Also, no one seems to be willing to completely give up on 64K ROM machines yet so I still have to find a way that works for older Macs. Thank you, Robert Gardner