Re: Convert kernel AbsoluteTime to a NSDate

2008-03-25 Thread David Duncan
On Mar 25, 2008, at 2:32 AM, Matt Burnett wrote: I really need to get it in to a NSDate. The big question here is Why? Without understanding what you want to do, it is unlikely that anyone will be able to help you. -- David Duncan Apple DTS Animation and Printing [EMAIL PROTECTED] __

Re: Convert kernel AbsoluteTime to a NSDate

2008-03-25 Thread Jean-Daniel Dupas
I think this is an absolute time. Don't know if it may help you, but have a look at http://developer.apple.com/qa/qa2004/qa1398.html I think absolute time 0 corresponds to machine boot time. Le 25 mars 08 à 10:32, Matt Burnett a écrit : Thanks for your reply, but im not sure if this is going

Re: Convert kernel AbsoluteTime to a NSDate

2008-03-25 Thread Matt Burnett
Thanks for your reply, but im not sure if this is going to help me. It seems like the most i could get from that would be the value which IOHIKeyboard is presently supplying. The following message also says that it is essentially impossible to do what I want from the kernel. http://lists.app

Re: Convert kernel AbsoluteTime to a NSDate

2008-03-25 Thread John C. Randolph
On Mar 25, 2008, at 1:23 AM, Matt Burnett wrote: I have a KEXT which hooks in to IOHIKeyboard->_keyboardEventAction. How can i convert the AbsoluteTime (UnsignedWide) I receive to a NSDate? Thanks! Try searching for "Using Mach Absolute Time Functions" in the Kernel programming guide. -

Convert kernel AbsoluteTime to a NSDate

2008-03-25 Thread Matt Burnett
I have a KEXT which hooks in to IOHIKeyboard->_keyboardEventAction. How can i convert the AbsoluteTime (UnsignedWide) I receive to a NSDate? Thanks! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderat