On Apr 5, 2010, at 3:31 PM, Kevin Wojniak wrote: > Looks to me like it's still available for x86_64. Are you linking with the > CoreServices framework? > > Kevin
Yeah, I've got: #include <CoreServices/CoreServices.h> void foo() { UpdateSystemActivity( UsrActivity ); // Error: 'UpdateSystemActivity' was not declared in this scope } Also, if I declare it, I get a link error saying the symbol doesn't exist. It'd be nice to use UpdateSystemActivity(), but it seems Sean's IOKit method the only way to proceed (thanks Sean!). Andy > > > On Apr 5, 2010, at 12:36 PM, Andy O'Meara wrote: > >> >> Hey cocoa crew, quick question... >> >> I'm looking for a Cocoa replacement for Carbon's UpdateSystemActivity() >> since it appears to be unavailable under x86_64. >> >> Any help or suggestion would be appreciated! >> >> Thanks, >> Andy >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> 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/kainjow%40kainjow.com >> >> This email sent to kain...@kainjow.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com