home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 12936 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.4 KB  |  32 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!centerline!hroudland!cparker
  3. From: cparker@centerline.com (Charles Parker)
  4. Subject: Re: bizarre error and help wanted on running TDebugger for Windows
  5. Message-ID: <1992Aug26.220145.4548@centerline.com>
  6. Sender: news@centerline.com
  7. Nntp-Posting-Host: hroudland
  8. Reply-To: cparker@centerline.com
  9. Organization: CenterLine Software
  10. References: <5326@unixhub.SLAC.Stanford.EDU>
  11. Date: Wed, 26 Aug 1992 22:01:45 GMT
  12. Lines: 18
  13.  
  14. In article 5326@unixhub.SLAC.Stanford.EDU, mothra@unixhub.SLAC.Stanford.EDU (Rand Phillip Pendleton) writes:
  15. >Well I have just had one of the strangest errors..  The only change I made 
  16. >to my file from last
  17. >night to tonight is changing the message in a SendMessage from
  18. >WM_PAINT to WM_FIRST + WM_PAINT, and now my Borland C++ OWL program
  19. >bombs with a "floating point error, square root of a negative number."
  20.  
  21. regarding the WM_FIRST + WM_PAINT addition, I cannot see any situation
  22. when it would be appropriate to send such a message. WM_FIRST is used
  23. by OWL to distinguish WM_* messages from WM_COMMAND messages. By adding
  24. WM_FIRST to WM_PAINT, you create an entirely new message which may have dire
  25. consequences.
  26. ---
  27. ---------------------------------------------------------
  28.                                        cyberspace
  29. momma, don't let yer children grow up to be ^ cowboys ...
  30. ---------------------------------------------------------
  31.  
  32.