I use SDI to write a program,the base class of C*view is CList,and I have to add a Dialog,I do as the book tells me .
There are many controls and variants in the Dialog.When I try to run it,after execute sentece "UpdateData(TRUE)",comes a error dialog,tell me there is a exception I did not deal with.But,when I make of the files,delete the files about Dialog,and do as previous I did,it is OK.

I do not know what cause the problem?Is there anything wrong with VC.NET compiler?Do you have the alike experience?

when I turn UpdateData(TRUE) to UpdateData(FALSE),It's also ok

thanks