Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!uceng!dsims From: dsims@uceng.UC.EDU (david l sims) Newsgroups: comp.windows.ms.programmer Subject: How can I intercept application calls to Windows? Message-ID: <8516@uceng.UC.EDU> Date: 17 May 91 23:03:44 GMT Organization: College of Engg., Univ. of Cincinnati Lines: 15 Remember in the good old days of DOS where we could intercept calls to the operating system by changing a vector in the interrupt vector table? Well, how can I do the equivalent in Windows? I would like to write an experimental program that would simply count the number of times a particular Windows procedure was called. If I could intercept these calls, I could maintain a counter and then proceed to call the real Windows procedure after I update my counter. Any ideas? Also, what about intercepting Windows messages? I believe the program POSTMAN does this. Any ideas on that? David Sims...dsims@uceng.uc.edu