FSDetermineIfRefIsEnclosedByFolder(): No const for Cocoa's Temp Dir?

2009-08-12 Thread Jerry Krinock
Because my application deals with a small number of documents -- most users will have only one, and because these documents have agents associated with them and are often not edited, I want my app to warn the user immediately upon opening a document that is in the Trash, instead of the

Re: FSDetermineIfRefIsEnclosedByFolder(): No const for Cocoa's Temp Dir?

2009-08-12 Thread Bill Cheeseman
On Aug 12, 2009, at 10:10 AM, Jerry Krinock wrote: Because my application deals with a small number of documents -- most users will have only one, and because these documents have agents associated with them and are often not edited, I want my app to warn the user immediately upon opening

Re: FSDetermineIfRefIsEnclosedByFolder(): No const for Cocoa's Temp Dir?

2009-08-12 Thread Jean-Daniel Dupas
Le 12 août 09 à 16:10, Jerry Krinock a écrit : Because my application deals with a small number of documents -- most users will have only one, and because these documents have agents associated with them and are often not edited, I want my app to warn the user immediately upon opening a

Re: FSDetermineIfRefIsEnclosedByFolder(): No const for Cocoa's Temp Dir?

2009-08-12 Thread Jerry Krinock
On 2009 Aug 12, at 08:33, Jean-Daniel Dupas wrote: What did you used as domainOrVRefNum ? Well, I tried various values but eventually settled on zero (0) because, according to the FSDetermineIfRefIsEnclosedByFolder() documentation, this will check all domains and volumes. On 2009 Aug