c++ - CRichEditCtrl not working properly in shared dll written using MFC? -


I am writing a DLL written in the MFCs used by other applications.
Project Settings: Use the MFC in a stable library. 2. Preprocessor: AFXDLL. 3. MD Build

I have also used AFXAMAntSTx (FXGetStatisticModelState) before calling CWINAP which internally calls Init Instance and DLL calls.

This dialog has a tab and I'm only able to see the first tab, all the other tabs are coming empty. When I'm running the same DLL exe (with the necessary changes) as my work fine.
DLL is crashing even when I am calling AFXGetApp ()? I think the big problem is because of the Domodal () can someone tell me whether tabs are not working on the issue of control?

Update I came to know that there was a CRichEditCtrl problem. When I removed it in the dialog tab, I did it even though it worked fine. Anyone can know about it .. I have used the infix in the past ()

I am new to MFC so please tell me that you need more information

You must call before using the rich editing control.

Comments