Re: calling COM objects
- From: Anders Karlsson <anders43@xxxxxxxx>
- Date: Fri, 21 Mar 2008 21:49:57 +0800
On Thu, 20 Mar 2008 17:11:33 -0700, worlman385@xxxxxxxxx wrote:
Is COM objects are like Java Beans implemented in C++?
Then COM is just like other static library (.Lib) in VC++ ?
When we use a COM object first we load the COM object binary file,
then we call functions inside the COM object just like calling
standard library functions?
The only difference is COM can be called by VB or C# ... etc (so it's
some kind of generic library) ??
you are correct in your assumption that java beans are like COM; same
concept however implermented differently.
yes, when you load COM objects you normally import the .DLL where the
COM object definitions are. Using this information, you create the
objects from the DLL. You can also connect to out of process COM
servers i.e. .EXE's to create objects.
the main difference is that COM is a microsoft thing, java beans is a
SUN/java thing. whether to call it "generic", that is dependent
whether you are a MS- or Java person.
hth/Anders.
--
A: People bitching about top-posting
Q: What's the most annoying thing on USENET?.
- Follow-Ups:
- Re: calling COM objects
- From: worlman385
- Re: calling COM objects
- References:
- calling COM objects
- From: worlman385
- calling COM objects
- Prev by Date: Re: VC++ project file
- Next by Date: Re: calling DLL
- Previous by thread: Re: calling COM objects
- Next by thread: Re: calling COM objects
- Index(es):
Relevant Pages
|