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: Preventing sleep, UpdateSystemActivity(), and 64 bit



On 11/23/07 2:02 PM, Rosyna said:

>UpdateSystemActivity() is still in 64-bit. The headers don't start if
>def'ing stuff out til exactly below UpdateSystemActivity().
>UpdateSystemActivity() is the last function before the 32-bit only
>stuff starts.

Did you try to actually link a 64 bit app that call's
UpdateSystemActivity()?  It doesn't work.

In OSServices.h you'll see:

#if !__LP64__
#ifndef __POWER__
#include <OSServices/Power.h>
#endif

However, if I copy the prototype into my own .m file, it does link, so I
guess it's a bug in the headers?

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Preventing sleep, UpdateSystemActivity(), and 64 bit (From: "Sean McBride" <email@hidden>)
 >Re: Preventing sleep, UpdateSystemActivity(), and 64 bit (From: Rosyna <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.