Solved

Peeking into IDispatch

Posted on 1998-05-04
1
299 Views
Last Modified: 2013-11-18
I'm somewhat new to OLE Automation and am having a difficult time finding concise and relatively complete documentation on working with the standard COM interface IDispatch.

There is the method IDispatch::GetIDsOfNames to get the DISPID of a known method.  But what if I don't know the names?  How can the names of the available methods be retrieved?
0
Comment
Question by:rayb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 30 total points
ID: 1172028
GetIDsOfNames is passed array of names and allocated aray for IDs. You must implement this method to fill in IDs array. Information about properties and methods names and IDs is stored in type library so DispGetIDsOfNames standard wrapper function should be used
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question