On Oct 14, 2009, at 17:43:28, mmalc Crawford wrote:
On Oct 14, 2009, at 5:21 PM, Rick Mann wrote:NSMutableData* data = [NSMutableData data]; [data appendBytes: &self length: sizeof (self)];Try using an NSValue: + (NSValue *)valueWithPointer:(const void *)aPointer archive then unarchive - (void *)pointerValue
Results in "cannot encode (void *) value: <a0280300 02000000>" Seems like I have to use an NSPasteboardItem. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
