• 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: Matt Gough <email@hidden>
  • Date: Mon, 3 Oct 2005 18:55:31 +0100


On 3 Oct 2005, at 17:57, Sean McBride wrote:

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.




Noooo.....

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.

Matt Gough
_______________________________________________
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


  • Follow-Ups:
    • Re: GetAliasSize vs. sliasSize
      • From: "Sean McBride" <email@hidden>
References: 
 >GetAliasSize vs. sliasSize (From: Norio Ota <email@hidden>)
 >Re: GetAliasSize vs. sliasSize (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Relocation entry errors on 10.3.9
  • Next by Date: Accelerated Objective-C Dispatch
  • Previous by thread: Re: GetAliasSize vs. sliasSize
  • Next by thread: Re: GetAliasSize vs. sliasSize
  • Index(es):
    • Date
    • Thread