paulwhelan
asked on
Why use COM?
Hi
Newbie question.
I'm just looking at COM/DLL (is it right to assume they're the same?)
And Im using this code in my ASP
CreateObject("Projectname. Classname" )
My question is -
Why use COM at all?
Is it faster?
And when should it be used?
Thanks
Paul
Newbie question.
I'm just looking at COM/DLL (is it right to assume they're the same?)
And Im using this code in my ASP
CreateObject("Projectname.
My question is -
Why use COM at all?
Is it faster?
And when should it be used?
Thanks
Paul
It partially supports object orient programming.
COM objects are essentially reusable components (a bit like assemblies under .Net). COM itself is simply the specification that dictates the mechanisms for communicating between components. They have lots of uses, I have used them in the past for web applications to seperate the code into logical tiers. Also, because they are compiled, they are faster than trying to perform the same tasks in ASP for example.
ASKER
Cheers guys
So a main advantage would be speed.
And also that they can support oop.
Anything else?
Thanks
Paul
So a main advantage would be speed.
And also that they can support oop.
Anything else?
Thanks
Paul
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is it fair to say its used to enable Object Oriented Programming?
Thanks
Paul