DISP_E_UNKNOWNNAME from GetIDsOfNames
Quote:
> Hello, I'm writing a client service for a component that is running in MTS
> under win2k. I am having a problem with GetIdsOfNames. It keeps returning
> DISP_E_UNKNOWNNAME even though I can see in MTS that I have the right name
> and everything else. Are there other reasons why I would get this error?
> Does anyone have any suggestions?
Be sure you are passing in a sensible
value for the LCID parameter. Be sure
your names array is in Unicode. If
this is not enough to get you past
the problem, please post your calling
sequence. In my experience, all the
IDispatch::GetIDsOfNames() implementations
I have dealt with behaved as documented.
--
Larry Brasfield
Above opinions may be mine alone.