Click here to Skip to main content
15,609,649 members

Comments by tolw (Top 20 by date)

tolw 6-Mar-12 5:06am View    
Reason for my vote of 5
Very useful!
tolw 22-Feb-12 4:52am View    
That's a terrible idea! You are copying a string to an unasigned pointer. No memory has been allocated so the code can have fatal results!
tolw 26-Jan-12 3:21am View    
I disagree. As with all things - it depends on the usage. The OP mentioned screensavers. So I'm guessing that he does not need to determine Idle states measured in seconds, but rather in minutes. If so, than pooling every couple of seconds does not in my opinion pose a great threat on the system. I'm not saying it is always acceptable, I am saying that because it is much simpler - it may be a better solution than hooks in some cases. And for the simplicity Lakamraju Raghuram gets my 5.
tolw 2-Aug-11 2:04am View    
Edited for readability
tolw 16-Jun-11 7:23am View    
Marked as gimmecode. You realy should at least try before asking...