• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GetAliasSize vs. sliasSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >GetAliasSize vs. sliasSize (From: Norio Ota <email@hidden>)
 >Re: GetAliasSize vs. sliasSize (From: "Sean McBride" <email@hidden>)
 >Re: GetAliasSize vs. sliasSize (From: Matt Gough <email@hidden>)

  • Prev by Date: Elementary Question -- Answered
  • Next by Date: settings for dylibs
  • Previous by thread: Re: GetAliasSize vs. sliasSize
  • Next by thread: debug souce code in a static library
  • Index(es):
    • Date
    • Thread