I need a program which intercepts Data transfer to and from an interface device on COM2.
All incoming and outgoing data should be logged in a binary file on disk.

Do you think it is difficult do write such a program?
Which interrupts do I have to use?
Posted on 2002-03-31 03:01:53 by MarMac
Posted on 2002-03-31 05:26:18 by bdjames
Sorry, I dont want to send or receive any data, I just need to log what is being sent/received by another program.
Posted on 2002-03-31 07:10:01 by MarMac
Maybe hooking is what you are looking for?

SetWindowsHookEx with EV_RXCHAR
Posted on 2002-03-31 07:24:19 by bdjames
Posted on 2002-03-31 07:25:25 by f0dder
Hey, thanks very much! That's just what I was looking for.
Posted on 2002-03-31 08:29:57 by MarMac