home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / tools / 1679 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!spool.mu.edu!caen!malgudi.oar.net!news.ans.net!cmcl2!panix!rryan
  3. From: rryan@panix.com (Rob Ryan)
  4. Subject: Re: MSC 7.0 windows debug mode and 'Cant read from device AUX'
  5. Message-ID: <1992Dec11.160246.3274@panix.com>
  6. Date: Fri, 11 Dec 1992 16:02:46 GMT
  7. Distribution: comp.os.ms-windows.programmer.tools
  8. References: <RHARMON.92Dec10144328@triton.uucp>
  9. Organization: Panix, NYC
  10. Lines: 32
  11.  
  12. In <RHARMON.92Dec10144328@triton.uucp> rharmon@uucp (Robert Harmon) writes:
  13.  
  14. >I got a System error: Can't read from device AUX'
  15. >
  16. >when running MSC 7.0 Windows Enhanced Debug Mode
  17. >
  18. >This happens if I try to resize the Solitate app.  The only other
  19. >thing running is clock.
  20. >
  21. >Anyone know why Its got to read from AUX (when I didn;t ask it to).
  22.  
  23. Yeah, the debugging kernel has found some errors and wants to report it to
  24. your debugging window.  If you run dbwin.exe (in c700\bin), that should
  25. fire up a window that will receive the AUX output and report the errors for
  26. you.  Incidentally, using the debugging kernel in conjunction with
  27. dbwin.exe is an invaluable programming tool.  Not only does it report a lot
  28. of otherwise unseen errors, but you can use the dbwin window to send trace
  29. messages (a la DebugOutput(DBF_TRACE | DBF_APPLICATION, "trace message")).
  30.  
  31. -- Rob
  32.  
  33. (P.S. Don't be surprised that applications that work fine report errors.
  34. I've found that most Windows programs overlook some subtleties of the
  35. Windows API.  Also, if you've been wondering why the number of Free
  36. Resources drops after running programs, dbwin can be used to report which
  37. applications are allocating resources but forgetting to free them when
  38. they're done.  It can give you a feel for how well programmed those
  39. commercial packages that you bought really are.)
  40.  
  41. -- 
  42.  Rob Ryan
  43.     rryan@panix.com
  44.