home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4908 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.6 KB  |  41 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!umeecs!umn.edu!csus.edu!netcom.com!hill
  3. From: hill@netcom.com (Tom Hill)
  4. Subject: Re: trapping interrupts under windows
  5. Message-ID: <1993Jan13.022030.24865@netcom.com>
  6. Organization: Netcom Online Communications Services (408-241-9760 login: guest)
  7. References: <93012.101937KDW103@psuvm.psu.edu>
  8. Date: Wed, 13 Jan 1993 02:20:30 GMT
  9. Lines: 30
  10.  
  11. In article <93012.101937KDW103@psuvm.psu.edu> <KDW103@psuvm.psu.edu> writes:
  12. >  Hello,
  13. >    I'm having trouble trapping IRQ11 or IRQ12 under windows.  I am trying to
  14. > write a device driver.  The problem isn't really with trapping the interrupt.
  15. > I found some sample code that helped me do that.  The problem is that anytime
  16. > that the IRQ line is enabled and I switch focus to anything other than the
  17. > program that uses the driver.  Windows crashes.  I've seen it crash 6 totaly
  18. > different ways, and I'm getting tired of it.  Does anyone have any idea what
  19. > is going on?  
  20.  
  21.  
  22. If you could clarify a little more, making suggestions would be easier.
  23. How are you trapping the interrupt? Are you writing a VxD or grabbing
  24. the interrupt from a DLL? 
  25.  
  26. Are you having the problem if you change focus after an interrupt
  27. or only if you get an interrupt after changing focus? Are you changing
  28. focus to aDOS app (Which will change the current VM?) 
  29.  
  30.  
  31. > Is windows changing the interrupt vector table w/o telling me?
  32.  
  33. The interrupt vector table always points to the VPICD, even if you
  34. get ownership of the IRQ in a VxD, so this should not be a problem.
  35.  
  36. >
  37. >  Thanks,
  38. >     Keith (kdw103@psuvm.psu.edu)
  39.  
  40. Tom Hill
  41.