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