home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1653 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.1 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!dfv.rwth-aachen.de!sungate.fido.de!p1.hippo.fido.de!eurologic.fido.de!Martin_Schloeter
  2. Date: Wed,  2 Sep 92 10:11:14 +0200
  3. From: Martin_Schloeter@eurologic.fido.de (Martin Schloeter)
  4. Subject: Re: How to catch floating point exceptions (under Watcom C/386)?
  5. Message-ID: <199bb4a8@p3.f67.n245.z2.fidonet.org>
  6. Newsgroups: comp.os.ms-windows.programmer.misc
  7. X-Comment-To: (Robert Lansdale)
  8. Organization: Die ersten 100.000 Jahre... 
  9. Lines: 11
  10.  
  11. RL>      After a bit of debugging I came to realization today that the
  12. RL> normal UNIX-like signal() handling mechanism does not function under
  13. RL> Windows 3.1. In particular, it does not function when using Watcom C/386
  14. RL> with their Windows 32-bit supervisor. A quick search through my Windows
  15. RL> books turned up nothing and none of the FAQs mentioned exception handling.
  16. RL> So, how may I intercept a signal in Windows, in particular a floating
  17. RL> point exception?
  18. With 3.1 comes the TOOLHELP.DLL which supports a kind of exception hooks. Look 
  19. for InterruptRegister in the 3.1 SDK Online-Help.
  20.  
  21. Martin
  22.