• 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: Handle data disappearing out from underneath me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handle data disappearing out from underneath me


  • Subject: Re: Handle data disappearing out from underneath me
  • From: glenn andreas <email@hidden>
  • Date: Sun, 8 Apr 2007 10:01:45 -0500


On Apr 8, 2007, at 9:48 AM, Ken Tozier wrote:

NSData *slugData = [NSData dataWithBytes: inSlugHandle length: GetHandleSize(inSlugHandle)];


You are using bytes starting at the master pointer - not the data contained in the handle (since a handle is a pointer to a pointer to the data)

You need to use [NSData dataWithBytes: *inSlugHandle length: GetHandleSize(inSlugHandle)]


Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures, fractals, art



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Handle data disappearing out from underneath me [Solved]
      • From: Ken Tozier <email@hidden>
References: 
 >Handle data disappearing out from underneath me (From: Ken Tozier <email@hidden>)
 >Re: Handle data disappearing out from underneath me (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Handle data disappearing out from underneath me
  • Next by Date: Re: Handle data disappearing out from underneath me [Solved]
  • Previous by thread: Re: Handle data disappearing out from underneath me
  • Next by thread: Re: Handle data disappearing out from underneath me [Solved]
  • Index(es):
    • Date
    • Thread