Quote Originally Posted by 2kaud View Post
I get very suspicious of problems that happen in release and don't in debug and when the problem changes or seems to go away when unrelated code is changed. This has the smell of a memory corruption issue.
Normally I would agree with you, but I believe I have simplified the case enough to rule that out. I think it has more to do with how the messages are being triggered, if I run this in debug, I think the focus/message handling queue might end up looking differently, since the whole program is suspended while i'm stepping.