H
hokiegal99
I am a relative c newbie, so bare with me.
I need to write a program that writes all keyboard keystrokes into a
text file (up to 500KB at which point it would begin overwriting itself)
regardless of what application the user is inputing data into (email,
office documents, etc). The purpose of this program is to have a real
time backup of user input so that user input can be restored when a PC
crashes or unexpectedly looses power. The idea came about when one of my
bosses lost an email that she had been typing all day due to a power
failure. She became angry when I told her that I could not recover her
data as it was created and destroyed *in between* scheduled backups so I
could not restore it from a backup tape. She then told me to devise a
solution for this type of situation.
Anyway, I started writing this program in Python, but soon found that
Python isn't really suited to this sort of thing. I have written some c
before and members of comp.lan.python reccomneded that this be written
in c, so I thought I'd post here and ask for direction.
How would I start writing such a program in c? What resources would you
guys reccomend? The platform the program will run on is x86, Win32
(mostly win2000/XP).
Thanks for any advice!!!
I need to write a program that writes all keyboard keystrokes into a
text file (up to 500KB at which point it would begin overwriting itself)
regardless of what application the user is inputing data into (email,
office documents, etc). The purpose of this program is to have a real
time backup of user input so that user input can be restored when a PC
crashes or unexpectedly looses power. The idea came about when one of my
bosses lost an email that she had been typing all day due to a power
failure. She became angry when I told her that I could not recover her
data as it was created and destroyed *in between* scheduled backups so I
could not restore it from a backup tape. She then told me to devise a
solution for this type of situation.
Anyway, I started writing this program in Python, but soon found that
Python isn't really suited to this sort of thing. I have written some c
before and members of comp.lan.python reccomneded that this be written
in c, so I thought I'd post here and ask for direction.
How would I start writing such a program in c? What resources would you
guys reccomend? The platform the program will run on is x86, Win32
(mostly win2000/XP).
Thanks for any advice!!!