Page 1 of 1

Dialog with TeeChart and CRicheditCtrl Crashes

Posted: Wed Apr 16, 2008 9:55 pm
by 15047739
I have a modeless dialog which has a TeeChart control placed on it. I can invoke that dialog without any problems. If, however, I also place an MFC CRichEditCtrl control on that same dialog, the dialog crashes. How can this problem be resolved?

Posted: Thu Apr 17, 2008 9:04 am
by narcis
Hi marathoner,

Can you reproduce the same problem without the TeeChart control on the modeless dialog?

Thanks in advance.

Posted: Thu Apr 17, 2008 9:54 pm
by 15047739
I fixed it with the initialization command: AfxInitRichEdit()