Re: difference between a .dll and .ocx????
- From: "Scott M." <s-mar@xxxxxxxxxxxxx>
- Date: Wed, 3 Jan 2007 08:48:47 -0500
Yes, my background is in VB 6.0 & VB.NET.
No problem. Happy New Year!
"Milosz Skalecki" <mily242@xxxxxxxxxxxxx> wrote in message
news:048C1B99-F0C5-4FDD-B9A7-DB228F7D2A99@xxxxxxxxxxxxxxxx
Scott,
You used "ActiveX is just a specific type of COM interface" which for me
(C++ background) meant "you have to implement a special interface to make
COM
server ActiveX" :) (From your replies above about DLLs) I see you might be
a
programmer with vb background, so please forgive me for mistunderstanding
:)
--
Milosz Skalecki
MCAD
"Milosz Skalecki" wrote:
Howdy Scott,
My point was sentence written by you:
"ActiveX is just a specific type of COM interface." which i disagreed.
From
architectural point of view, COM, OLE, ActiveX objects have to only
implement
IUnknown interface. It's not a specific or special type of COM interface
it's
just another name for the same technology. See Microsoft spec:
http://support.microsoft.com/kb/154544/EN-US/
especially:
"ActiveX controls, formerly known as OLE controls or OCX controls,.. "
and
"Q. What is the difference between an OLE control and an ActiveX control?
A. No difference. "ActiveX control" renames and restructures the OLE
controls technology. For marketing reasons, the term OLE has come full
circle
and once again refers to the OLE technologies that apply to object
linking
and embedding only. The term "OLE control" has been replaced with the
"ActiveX control" to distance the name from the older Object Linking and
Embedding technology with which controls have very little in common. No
one
should use the term "OLE control" anymore."
1. Q. What is the difference between an OLE control and an ActiveX
control?
A. No difference. "ActiveX control" renames and restructures the OLE
controls technology. For marketing reasons, the term OLE has come full
circle
and once again refers to the OLE technologies that apply to object
linking
and embedding only. The term "OLE control" has been replaced with the
"ActiveX control" to distance the name from the older Object Linking and
Embedding technology with which controls have very little in common. No
one
should use the term "OLE control" anymore.
--
Milosz Skalecki
MCAD
"Scott M." wrote:
Well, not quite since not all OLE objects are ActiveX objects. But,
nonetheless, what's your point? The OP is asking about .dlls and
.ocxs.
You seem to be hung up on OLE and ActiveX.
"Milosz Skalecki" <mily242@xxxxxxxxxxxxx> wrote in message
news:081A5E13-7191-4C6D-80F0-62E8B9F32874@xxxxxxxxxxxxxxxx
Microsoft say:
"Keep in mind that an ActiveX control is just another term for an
"OLE
Object" or "Component Object Model (COM) Object."
--
Milosz Skalecki
MCAD
"Scott M." wrote:
Sounds like you've answered your own question :).
You are now talking about the differences between OLE objects and
ActiveX
controls, but remember that was not the question. Not all COM
components
are OLE objects.
I was pointing this out.
"Milosz Skalecki" <mily242@xxxxxxxxxxxxx> wrote in message
news:A37F45F2-31A6-492F-B4B0-D37EC751C330@xxxxxxxxxxxxxxxx
What specific interface is that? :)
An ActiveX control is essentially a simple OLE object that
supports the
IUnknown interface (methods QueryInterface, AddRef, Release), the
same
as
all
COM objects. It usually supports many more interfaces in order to
offer
functionality, but all additional interfaces can be viewed as
optional.
ActiveX Controls must also support self-registration by
implementing
the
DllRegisterServer and DllUnregisterServer functions.
--
Milosz Skalecki
MCAD
"Scott M." wrote:
..ocx files are files that contain code for ActiveX controls and
ActiveX
is
just a specific type of COM interface.
"giddy" <gidisrael@xxxxxxxxx> wrote in message
news:1166817291.358219.301130@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi ,
i'm a C# with programmer with a prety good background , but i'm
embarrased to admit i'm still not clear about dlls and ocx's
i've seen a good set of links and i did'nt get much out of
them..
.so
could someone tell me :
the difference between a .dll and .ocx???? .... also. .are ocxs
activeXs or COM (or both! =S)
gideon
.
- References:
- Re: difference between a .dll and .ocx????
- From: Scott M.
- Re: difference between a .dll and .ocx????
- Prev by Date: Referencing controls inside FormView
- Next by Date: Execute command
- Previous by thread: Re: difference between a .dll and .ocx????
- Next by thread: Re: difference between a .dll and .ocx????
- Index(es):
Relevant Pages
|