Invokethe FindCustomer Dialog
Example code
BSTR strVal; HRESULT hr; hr=m_ICustomer.CoCreateInstance(CLSID_Customer); if(FAILED(hr)) { AfxMessageBox(_T("ICustomerInterface initialisation failed")); return FALSE; } m_ICustomer->InvokeFindCustomerDlg(&strVal);