Solved

Peeking into IDispatch

Posted on 1998-05-04
1
293 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
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
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 technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now