Using ATL (VS2008) how can I enumerate the available methods available on a given IDispatch interface (IDispatch*
)? I need to search for a method with a specific name and, once I have the DISPID
, invoke the method (I know the parameters the method takes.) Ideally I would like to do this using smart COM pointers (CComPtr<>
).
Is this possible?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…