Re: Event Tap(CFMachPortRef) problem for Hot Key- callback is not invoked

2011-03-08 Thread Bill Cheeseman
On Mar 7, 2011, at 10:40 PM, Deepa wrote: > But, sometimes (randomly) the callback is not invoked; Hot Key does not work > and hence the feature seems to be not working. I haven't analyzed your code, but I would suggest that you revise it to capture all the errors that the event tap functions

Re: Event Tap(CFMachPortRef) problem for Hot Key- callback is not invoked

2011-03-08 Thread Deepa
Hi Daniel, Thank you for the response. Our app provides the user with an option of using system shortcut keys for capturing. For example, Suppose Cmd+Shift+4 is the system shortcut used to capture the full screen; user can use the same combination of keys to capture the full screen from my ap

Re: Event Tap(CFMachPortRef) problem for Hot Key- callback is not invoked

2011-03-08 Thread Jean-Daniel Dupas
Le 8 mars 2011 à 04:40, Deepa a écrit : > Hi, > > I am developing a desktop application that supports one of the feature > through Hot Key. I am using Event Tap for this to work. > > But, sometimes (randomly) the callback is not invoked; Hot Key does not work > and hence the feature seems to

Event Tap(CFMachPortRef) problem for Hot Key- callback is not invoked

2011-03-07 Thread Deepa
Hi, I am developing a desktop application that supports one of the feature through Hot Key. I am using Event Tap for this to work. But, sometimes (randomly) the callback is not invoked; Hot Key does not work and hence the feature seems to be not working. Could someone help me out in identify