Did you call AfxOleInit() and AfxEnableControlContainer() ? ================== The original message was: I've been developing an MFC regular dll which exports a function which creates and displays a dialog. Everytthing works fine. However I get a problem when I
insert an Active -X control (eg: MS-Chart control) at design time and then display the dialog. In this case when I call my exported function the dialog is not displayed at all, and I noticed one thing DoModal returns IDCANCEL.
What do I do to solve this problem.
Thanks, Anyhelp would be highly appreciated.
D
DomDo
@DomDo
Posts
-
Dialogs with ActiveX controls in MFC regular dlls