Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear sir,

I read about hooks and related documentation. I am developing a screen capture application, I used GDI and Direct3D methods, now I am using polling method to capture screen. But this is affecting system performance. I am searching for a solution to know a way to learn active desktop updates and to capture only at that instant. I am thinking to use hooks to track mouse or keyboard events and to capture screen according to events. Please clarify my below doubts,

1. Whether using hooks for this purpose is a right choice.

2. Is there any other ways to get notifications of screen or video memory updates.

3. I read about mirror drivers, but I don't know anything about drivers. I think writing a driver is complicated and time taking process. If any samples already available, please provide those links.

Awaiting for your reply..... Thanks in advance...
Posted
Comments
ThatsAlok 21-Jul-11 9:35am    
hook is good choice for checking idle time!

1 solution

you can also see this tutorial http://simplesamples.info/MFC/IdleProcessing.php[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900