[futurebasic] Re: [FB] FSSpecs v RefNums

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2002 : Group Archive : Group : All Groups

From: Martin Fitzgibbons <rush@...>
Date: Sat, 27 Apr 2002 10:37:31 +1000
Brian,

do you have a small working example on what you are doing?

Martin

Bernie Wylde wrote:

>Thanks for the reply Brian,
>I think I need to first obtain a copy of OSX then I can do my own trials.
>
>Cheers
>Bernie
>
>
>
>
>Brian replied:
>
>>>To ensure any Future apps will run in OS9 & OSX, what should I be using
>>>instead of:
>>>
>>>1. SYSTEM(_aplVol)
>>>
>>>2. FOLDER(path$,vol)
>>>
>>>TIA
>>>Bernie
>>>
>>Bernie,
>>
>>I don't recall seeing anything saying you can't use system(_apVol) to
>>save files to the application volume. I think Andy is handling this
>>beneath the covers for us. He has also given us some gems like fn
>>FBWDtoPBWD(pb&) to help make our existing routines that use vrefnums
>>continue to work. FOLDER using pathnames risks the problems mentioned
>>here many times and is discouraged by Apple (or course they pushed
>>FSSPecs and now they have said 63 character file names will be too
>>small - not sure how they will (or if) move the FSSpecs structure
>>forward). For my code I have set up a general FN to find any folder I
>>pass to it and return an FSSpec record. This seems to work and keeps
>>OS X happy.
>>
>>Brian
>>
>>--
>>To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>
>>
>>
>
>
>--
>To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>
>
>