Solved

How to find IID values of a COM?

Posted on 2000-05-18
2
650 Views
Last Modified: 2013-11-25
I need to use a COM DLL (an in-process COM server) in an application. Its type library is built into the DLL file. No *_i.c file available. In order to use CoCreateInstance function, I need to know IIDs of the interfaces.

Now how to get the IID vlaues?
0
Comment
Question by:yzmao
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
iDeb earned 200 total points
ID: 2821742
You can use #import yourserver.tlb where tlb is the type library of your COM server dll. This would give access to the IIDs of the interfaces and COM objects in the server.

See an ATL book or MSDN for all the options to the #import directive
0
 
LVL 2

Expert Comment

by:iDeb
ID: 2821797
To see the IIDs you can use the OLE/COM ObjectViewer utility in VisualStudio
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

770 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