Hello,
I'm working through a crazy bug right now with the UpdateData(false) command. I'm trying to update ordinary text that represents a counter in my dialog. Every second I format the string and issue the UpdateData(false) command, which then calls the DataExchange function and so on...While compiling in Debug Mode the update fails. The last line in the call stack is CWnd::AssertValid(). However, this doesn't crash the system in the Release mode. I use the UpdateData(false) command in other places and it works fine, the only difference with the other code is that it is called much more fequently. Does anyone have any ideas. Thanks.
Bob
I'm working through a crazy bug right now with the UpdateData(false) command. I'm trying to update ordinary text that represents a counter in my dialog. Every second I format the string and issue the UpdateData(false) command, which then calls the DataExchange function and so on...While compiling in Debug Mode the update fails. The last line in the call stack is CWnd::AssertValid(). However, this doesn't crash the system in the Release mode. I use the UpdateData(false) command in other places and it works fine, the only difference with the other code is that it is called much more fequently. Does anyone have any ideas. Thanks.
Bob