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

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!psinntp!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: <1992Dec16.135938.21596@panix.com>
  6. Date: Wed, 16 Dec 1992 13:59:38 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>
  9. Organization: Panix, NYC
  10. Lines: 21
  11.  
  12. In <1992Dec15.114345.8779@titan.inmos.co.uk> jeremy@cheetah.inmos.co.uk
  13. (Jeremy Thorp) writes:
  14.  
  15. >I have NEVER got DebugOutput to work. TRACE (C++), and OutputDebugString
  16. >work fine, but not DebugOutput. I am using DbWin.
  17. >
  18. >Could someone give me an example that is known to work (with configuration)?
  19.  
  20. The main thing is that you need a line in your .DEF file that says:
  21.  
  22.   IMPORTS        _DebugOutput=KERNEL._DebugOutput
  23.  
  24. Also, this is a Windows v3.1 routine, so it won't work if you have
  25. Windows 3.0.  I'm not sure why this import is needed.  It is a documented
  26. function of the Windows 3.1 API, so you really shouldn't need to do this,
  27. but you do.  Also, the docs don't seem to reference to DBF_APPLICATION.
  28. Perhaps they simply expect everyone to use TRACE().
  29.  
  30. -- 
  31.  Rob Ryan
  32.     rryan@panix.com
  33.