I'm trying to use Com to auto complete the
text in an MFC dialog box. I have the dialog
box working and the COInitialise and
CoCreateInstance on CLSID_AutoComplete and
CLSID_ACLHistory compile and run. But the Init
routine to associate the COM auto complete
with the dialog box causes an assertion failure.
pAC->Init(dg.m_hWnd, pACHistory, NULL, NULL);
dg is the dialog class instance and m_hWnd its
handle. The text is being input into an
edit control box.
Any help would be appreciated.