Re: GetAliasSize vs. sliasSize
Re: GetAliasSize vs. sliasSize
- Subject: Re: GetAliasSize vs. sliasSize
- From: "Sean McBride" <email@hidden>
- Date: Tue, 4 Oct 2005 11:35:56 -0400
- Organization: Rogue Research
On 2005-10-03 18:55, Matt Gough said:
>>> AliasRecord' has no member named 'aliasSize'" at this time.
>>
>> I'm pretty sure you can use GetHandleSize() on an alias, then
>> you'll be
>> ok on 10.3 and 10.4.
>
>the aliasSize field (and hence GetAliasSize) return the amount of
>data in the handle (from the start) that is being used by the alias
>manager. Other applications are free to append data to the end, and
>as such in this case GetHandleSize and GetAliasSize would return
>different results. Anyone actually using GetAliasSize is presumably
>doing this precisely because they don't want to mess up such extra data.
Well, the docs say for GetAliasSize: "The returned size is smaller than
the size returned by the function GetHandleSize if any custom data is
added". So I agree it depends what size you need, but if you're trying
to save the alias, then GetHandleSize() should be ok, as it returns the
larger size.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden