Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ncar!mephisto!prism!gt3070b From: gt3070b@prism.gatech.EDU (Jeff Watkins) Newsgroups: comp.windows.ms Subject: Writing a Device Driver Message-ID: <13464@hydra.gatech.EDU> Date: 8 Sep 90 23:09:12 GMT Organization: Convergent Media Systems Lines: 22 Well, I have been assigned the jolly task of writing a device driver for a piece of hardware that we have. The fun and interesting part of all this is that I had planned to simply poll this hardware every 8ms and handle the data in a big loop. This way I could write the routines as part of a DLL and that would be that. Now if you are quick, you'll notice the problem. A timer event has a maximum resolution of 54ms. There is no way to poll the card quickly enough. That means that I must enable the hardware interrupt that the card generates and trap that. THIS IS THE PROBLEM! How does one trap a hardware interrupt in Windows? I really am in a bind until I can do this, so any help is appreciated. If sample source code is available that would be great... thanks in advance... jeff -- Jeff Watkins gt3070b@prism.gatech.edu Convergent Media Systems (404) 315-0105 voice (404) 315-0231 data "I speak for no-one. AND NO-ONE SPEAKS FOR ME... oh, yes, _dear_...I gotta go..."