>But to invoke >the functions defined by the COM object, I need to know their DISPIDS.
The below may be what you need where pdisp is an IDispatch*. DISPID dispid; WCHAR *szMember[1]; ..... ..... szMember[0] = "MethodName"; hresult = pdisp->GetIDsOfNames(IID_NULL, szMember, 1, LOCALE_USER_DEFAULT, &dispid); If you are starting only with an IUnknown, query the interface for IID_IDispatch to get pdisp. Chad =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls Guerrilla .NET, 8 Dec 2003, in Los Angeles http://www.develop.com/courses/gdotnet View archives and manage your subscription(s) at http://discuss.develop.com
