Forum Navigation
You need to log in to create posts and topics.

Closing Data & Resource Files

Posted by: MAWRPh <MAWRPh@...>

I am working on an application that uses one file containing both a data and
resource fork. I open both forks when the app starts and close them both when
the app quits.

I have noticed that many(most/all?) of the examples show opening the data
fork, reading & writing to/from it and then closing it. Is there a problem
with opening it and leaving it open if you know that you will be continually
accessing it when the app is open? Can you do the same with the resource
fork?

Mark