maybe a google on dispid would help?
http://en.wikipedia.org/wiki/IDispatch
3rd paragraph.
--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book
www.lulu.com/owc
"Daniel Lidström" <someone (AT) microsoft (DOT) com> wrote
Quote:
Hello!
I've read on MSDN [1] that it is necessary to mark methods and properties
with DispId in order to expose them to COM. But that doesn't seem
necessary. I've created interfaces and subclasses in C# and I have no
problem using them from C++. So what is DispId really used for?
[1] Example COM Class (C#): http://msdn2.microsoft.com/en-us/lib...20(VS.80).aspx
--
Daniel |