home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / tools / 1800 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.4 KB  |  31 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!saimiri.primate.wisc.edu!usenet.coe.montana.edu!rpi!news.ans.net!cmcl2!panix!rryan
  3. From: rryan@panix.com (Rob Ryan)
  4. Subject: Re: DebugOutput() probs : was Re: MSC 7.0 windows debug mode and 'Cant read from device AUX'
  5. Message-ID: <1992Dec22.162616.20716@panix.com>
  6. Date: Tue, 22 Dec 1992 16:26:16 GMT
  7. Distribution: comp.os.ms-windows.programmer.tools
  8. References: <RHARMON.92Dec10144328@triton.uucp> <1992Dec11.160246.3274@panix.com> <1992Dec15.114345.8779@titan.inmos.co.uk> <1992Dec16.135938.21596@panix.com> <1992Dec21.130416.10774@titan.inmos.co.uk> <1992Dec21.174914.24388@panix.com> <1992Dec22.114159.19769@titan.inmos.co.uk>
  9. Organization: Panix, NYC
  10. Lines: 19
  11.  
  12. In <1992Dec22.114159.19769@titan.inmos.co.uk> jeremy@cheetah.inmos.co.uk (Jeremy Thorp) writes:
  13.  
  14. >The application check box is checked.
  15.  
  16. Sorry, I should have assumed that you did, but couldn't think of what else
  17. the problem could be.
  18.  
  19. >I have a point in my code that calls OutputDebugString, DebugOutput,
  20. >and then OutputDebugString again (3 successive lines).  The
  21. >OutputDebugString strings are displayed by DBWin, but the DebugOutput
  22. >string is not. I am using DBF_TRACE as the first parameter to
  23. >DebugOutput
  24.  
  25. Ah ha.  You should use DebugOutput(DBF_TRACE | DBF_APPLICATION, ...).
  26. That will do it.  It's not in the docs, but seems to work.
  27.  
  28. -- 
  29.  Rob Ryan
  30.     rryan@panix.com
  31.