Re: Preventing system sleep, QA1340 code does not seem to work
Re: Preventing system sleep, QA1340 code does not seem to work
- Subject: Re: Preventing system sleep, QA1340 code does not seem to work
- From: "Sean McBride" <email@hidden>
- Date: Tue, 12 Dec 2006 17:20:24 -0500
- Organization: Rogue Research
On 2006-12-12 16:16, Brian Bergstrand said:
>The callback requires a run loop. Have you created one, added the
>callback source port and started the loop running?
Yes. I copy and pasted the code exactly, as seen here:
<http://developer.apple.com/qa/qa2004/qa1340.html>
The code looks like it should work. As I said, I made a brand new
project, of type 'CoreFoundation tool', pasted in the code, added
IOKit.framework, and ran it.
--
____________________________________________________________
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.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden