I'm using a DLL for hooking keyboard functions. In Windows Server 2000 and Windows 7 it is getting deleted.

Any ideas why it is getting deleted and how to avoid this?

link|improve this question
This question isn't about Visual C++, and correct answers are going to include tools like sysInternals' Process Monitor. Voting to move to superuser. – Ben Voigt Jul 28 '10 at 13:31
Perhaps it looks like a security threat? Key loggers are popular for capturing confidential data. – DOK Jul 28 '10 at 13:31
Most probably,anti-virus installed is detecting it as some kind of threat !! – Mr-Right Jul 29 '10 at 16:53
feedback

migrated from stackoverflow.com Jul 29 '10 at 16:49

This question came from our site for professional and enthusiast programmers.

2 Answers

Probably some virus checker thinking you have a virus. Keyboard hooks are a major security issue. Imagine entering passwords or banking info and having the keyboard hook send the info to another party.

link|improve this answer
Bingo............... – DOK Jul 28 '10 at 13:34
HI , Thanks for ur reply whether windows will write any log regarding deletion of files. If yes please tell me where i can see. Thank You – balajistackoverflow Jul 29 '10 at 8:39
You must have a virus checker on your machine that is doing it, most virus checkers will show you their removed threats. You might be able to configure it to not remove a certain process or a certain folder. – Romain Hippeau Jul 29 '10 at 12:43
Windows Defender may have removed it. Defender logs are in Event Viewer. – Moab Jul 29 '10 at 17:15
feedback

Most probably,anti-virus installed is detecting it as some kind of threat !!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown