Search Tools Links Login

Watcher


Watcher is server-client application. In zip file there are two files.
First is Writer. this actually monitor activity on your computer.
First it gets active window and its Hwnd, then convert this into thread ID and create snapshot if this is Win9x OS, if not there is no need for this because we can get threads for windows directly. Then compares hwnd and ThreadId to get correct thread and finally convert it to process.
Then all we have to do is find this process EXE and get app name from there. There are few different ways to get application name from exe file. This application also monitors keyboard and mouse activity just to see when user was working and when not.
All data are saved into database.
Second source is Watcher. This app connect to writer using TCP/IP protocol (winsock object). The protocol is similar to smpt protocol. I think this could be good example how protocol should look like. I had to wrote my own grid object for this project. The source and OCX is included also. Watcher have hidden functions which are visible if you start app with /SetUp parameter. The code is written somewhere in source of watcher. You can then communicate with writer's manually. Just type Help or check writers source.
This software was written few years ago so I don't remember now exactly how and could be some mistakes in description. This is the basically what this source do. If you need additional info let me know and I'll write more about functions and APIs in this source. Or you can contact me on my email.
Thanks, Mitja

Original Author: Mitja

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 72 times

Categories

Visual Basic 6

Attachments

Watcher78507522002.zip
Posted: 9/3/2020 3:45:00 PM
Size: 391,468 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.