Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ???&amp ??? in ICARegisterForEventNotification Apple Code Sample



On 01 Dec 08, at 21:54, Ron Fleckner wrote:
<snip>
They are almost certainly un-rendered plain '&' tokens which Safari has failed to render properly or perhaps the html was incorrectly written. The clue is that each of them have a semi-colon after them. Have a look at the page's source code to check, but I think you could just remove the the word 'amp' and the semi-colon and it should compile.


There actually appear to be a number of errors in this page - the next example contains the line:

    pb.deviceObject = <#ICAObject deviceObject#>;

which looks like an incomplete XCode template, and the example after that has:

    pb.object = 1815C00; //device object ID

(Hexidecimal constants must begin with a 0x or 0X prefix, so this won't compile.)

File a bug on this one! It looks like it needs a bit of extra love.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >???&amp ??? in ICARegisterForEventNotification Apple Code Sample (From: M Pulis <email@hidden>)
 >Re: ???&amp ??? in ICARegisterForEventNotification Apple Code Sample (From: Ron Fleckner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.