Dialog with TeeChart and CRicheditCtrl Crashes

TeeChart for ActiveX, COM and ASP
Post Reply
marathoner
Newbie
Newbie
Posts: 35
Joined: Wed Dec 12, 2007 12:00 am

Dialog with TeeChart and CRicheditCtrl Crashes

Post by marathoner » Wed Apr 16, 2008 9:55 pm

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Apr 17, 2008 9:04 am

Hi marathoner,

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

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

marathoner
Newbie
Newbie
Posts: 35
Joined: Wed Dec 12, 2007 12:00 am

Post by marathoner » Thu Apr 17, 2008 9:54 pm

I fixed it with the initialization command: AfxInitRichEdit()

Post Reply