How can I create dialog with ActiveX control in MFC supported console application?
Posted on 2001-07-03
I writing a console application with MFC support.
I've craeted "CMyDialog : public CDialog" class.
this dialog has an ActiveX control.
When I'm calling CMyDialog.Create(IDD_MYDIALOG) the function failed, and I'm getting the following warning:
First-chance exception in MyApplication.exe (OLE32.DLL): 0xC0000005: Access Violation.
First-chance exception in MyApplication.exe (KERNEL32.DLL): 0x8001010D: (no name).
Warning: CreateDlgControls failed during dialog init.
Can someone help me?
How can I create this dialog sucessfully?