sshelton
May 3rd, 1999, 07:13 PM
I have code which manually sends messages to parent windows with the SendMessage() function.
Everyone is happy when compiled in debug mode, but when compiled in release mode, they complain and throw fatal errors.
The messages causing the trouble were manually entered and use a message defined in the code. These are not the built in messages like WM_MOUSEMOVE, they're totally created in my program.
The actual function gets called, the explosion seems to happen after the function call. And it's probably not something totally unrelated, because the problem occurred a couple times in different places.
I tried increasing the numeric value of the message without luck. I don't understand why this would fail on release but succeed on debug!
I have worked around these bugs though, mostly I'm just curious to know why it's failing.
Everyone is happy when compiled in debug mode, but when compiled in release mode, they complain and throw fatal errors.
The messages causing the trouble were manually entered and use a message defined in the code. These are not the built in messages like WM_MOUSEMOVE, they're totally created in my program.
The actual function gets called, the explosion seems to happen after the function call. And it's probably not something totally unrelated, because the problem occurred a couple times in different places.
I tried increasing the numeric value of the message without luck. I don't understand why this would fail on release but succeed on debug!
I have worked around these bugs though, mostly I'm just curious to know why it's failing.