Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Using Com to autocomplete dialog text

Paul77Paul77 Member Posts: 2

Hi,
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.
Sign In or Register to comment.