Re: Carbon Handles & NSData
Re: Carbon Handles & NSData
- Subject: Re: Carbon Handles & NSData
- From: Philip Streck <email@hidden>
- Date: Mon, 26 Aug 2002 11:22:32 -0400
On Monday, August 26, 2002, at 04:27 AM, Pierre-Olivier Latour wrote:
SetIconFamilyData is still returning -50 but the additions you gave
explained more about how handles work in carbon. does the
IconFamilyHandle ( hIconFamily ) need to be initialized before hand; or
does SetIconFamilyData do the initialization?
Apparently, you can still pass an arbitrary block of memory to PtrToHand
(never heard about that one!), so I was wrong, and obviously, this is
not
the cause of your problem.
For the rest of your question, I'm afraid I can't help: I've never used
this
Icon Manager. However, you should have a look at:
http://developer.apple.com/techpubs/macosx/Carbon/carbon.html
I'm confident it should be documented.
It is documented, just not very clearly. I allocted the hIconFamily to
be a zero sized handle and am no longer getting a -50, now i'm getting a
-108 which is a memFullErr. Anyone got more ideas on this one?
Thanks,
Phil
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.