Crashes with two dialog boxes
-------
Folks,
could anyone help me. I have two processes, both of which have modeless
dialog boxes
that have instances CProgressCtrl classes to show progress on the screen.
With great
frequency if both of these dialog boxes are displaying at the same time one
of the processes crash because of an assert in the file WINCORE.CPP because
of the following ASSERT
BOOL CWnd::UpdateData(BOOL bSaveAndValidate)
{
ASSERT(::IsWindow(m_hWnd)); // calling UpdateData before DoModal? <--CRASH
here
............
............
}
This is called from the UpdateData() method in the dialog class. Am I
breaking conventions here by having two display boxes, is there anyone who
has some good information on this topic. Any articles or sample code would
be greatly appreciated
Cheers
Peter