Forum breadcrumbs - You are here:WeLoveGod RallysPublic Forums: futurebasicClosing Data & Resource Files
You need to log in to create posts and topics.
Closing Data & Resource Files
77,940 Posts
#1 · November 20, 1997, 2:08 am
Quote from Forum Archives on November 20, 1997, 2:08 amPosted 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
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.
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
Click for thumbs down.0Click for thumbs up.0