|
From: Edward K. C. <ek...@lg...> - 2005-12-28 06:09:30
|
On Dec 28, 2005, at 12:14 AM, James W. Walker wrote: > I believe that Q3MacintoshStorage_New expects a file reference > number, as created for example by FSpOpenDF, not a fork reference > number. I'm surprised it worked at all, because I don't think the > two kind of reference numbers are compatible. Oh. For some reason, I had assumed FSOpenFork was just the FSRef equivalent of FSpOpenDF/FSpOpenRF. Thanks for setting me straight. That sort of makes it difficult to open a file without calling on deprecated APIs, doesn't it? I guess you can turn an FSRef into a path and go that route, but paths aren't without problems either, from what I've heard. I think I'll go back to using FSSpecs for now... -Ted |