Where can I find info on IDispatchEx()

Samuel A. Falvo II kc5tja at garnet.armored.net
Mon Dec 13 14:50:45 EST 1999


In article <8336vj$c8k$1 at nnrp1.deja.com>, e.e.sutton at cummins.com wrote:
>majority these days. It is getting harder to find COM examples in C++
>anymore and you have to understand VB just so you can figure out how to
>do it C++.

I strongly disagree with this.  I found no less than three documents on
Microsoft's web site which instructs the reader how to construct COM objects
using C (which, by extension, includes assembly language for those who know
how to read C as good as the English language ;) ) and C++.  Check out
http://www.microsoft.com/com (not msdn.microsoft.com!).  There, you'll find
plenty of examples on how to create new COM objects, how to register them
with the operating system, how to build your object to handle aggregation
and delegation, and more.

All the other examples used Visual Basic purely as a scripting language --
ie., a language which bosses other objects around.  I'm aware that you can
create new COM objects in VB, but they are accessed almost exclusively
through IDispatch, rather than through native COM interfaces.  The only way
to create REAL COM objects is to use a compiled language, or an interpretted
language which creates compiled stubs for your COM interfaces.

-- 
KC5TJA/6, DM13, QRP-L #1447
Samuel A. Falvo II
Oceanside, CA



More information about the Python-list mailing list