home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / tools / 1812 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.9 KB

  1. Path: sparky!uunet!mcsun!uknet!strath-cs!fulcrum!inmos!titan.inmos.co.uk!cheetah!jeremy
  2. From: jeremy@cheetah.inmos.co.uk (Jeremy Thorp)
  3. Newsgroups: comp.os.ms-windows.programmer.tools
  4. Subject: Re: DebugOutput() probs - solution
  5. Message-ID: <1992Dec23.105214.773@titan.inmos.co.uk>
  6. Date: 23 Dec 92 10:52:14 GMT
  7. 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.
  8. Sender: jeremy@cheetah (Jeremy Thorp)
  9. Distribution: comp.os.ms-windows.programmer.tools
  10. Organization: INMOS Limited, Bristol, UK
  11. Lines: 34
  12.  
  13. In article <1992Dec22.162616.20716@panix.com>, rryan@panix.com (Rob Ryan) writes:
  14. |> In <1992Dec22.114159.19769@titan.inmos.co.uk> jeremy@cheetah.inmos.co.uk (Jeremy Thorp) writes:
  15. |> 
  16. |> >The application check box is checked.
  17. |> 
  18. |> Sorry, I should have assumed that you did, but couldn't think of what else
  19. |> the problem could be.
  20. |> 
  21. |> >I have a point in my code that calls OutputDebugString, DebugOutput,
  22. |> >and then OutputDebugString again (3 successive lines).  The
  23. |> >OutputDebugString strings are displayed by DBWin, but the DebugOutput
  24. |> >string is not. I am using DBF_TRACE as the first parameter to
  25. |> >DebugOutput
  26. |> 
  27. |> Ah ha.  You should use DebugOutput(DBF_TRACE | DBF_APPLICATION, ...).
  28. |> That will do it.  It's not in the docs, but seems to work.
  29. |> 
  30. |> -- 
  31. |>  Rob Ryan
  32. |>     rryan@panix.com
  33.  
  34. Well knock me down with a feather!!!
  35.  
  36. I tried or'ing in DBF_APPLICATION as suggested and it WORKS!!!!
  37.  
  38. Thanks very much, this one has been puzzling me for ages.
  39.  
  40. -- 
  41. Jeremy Thorp, INMOS Ltd,     |    jeremy@inmos.com
  42. 1000 Aztec West, Almondsbury,     |    jeremy@inmos.co.uk
  43. Bristol, BS12 4SQ, UK.        |    
  44. Tel.  +44 454 616616    Fax. +44 454 617910
  45. The above is the personal opinion of the author,
  46. and does not necessarily reflect INMOS policy.
  47.