PDA

Click to See Complete Forum and Search --> : Difference:Component and DLL


manjeera
Aug 1st, 2001, 05:50 AM
Could any one tell me difference between component and DLL.
Also, what is the difference between traditional DLL and ActiveX
DLL.

Infact I have many questions regarding this topic.

How is an exe different from a dll and how a standard exe
differs from activex exe.

wolfofthenorth
Aug 1st, 2001, 11:36 AM
Hi,

A componet is a createable class inside a dll or exe.

A dll runs in the process of the client. This offers better performance.

An exe runs in a seperate process. This is slower than an in-process server, but offers more fault tolerance, and the ability to run background operations.

I'm not sure about all the differences in traditional dll and ActiveX dlls. Vb doesn't export the methods the same way that tradition dlls do. So you can't call into one like an API. (maybe :confused: )

An ActiveX exe can expose conponets that can be created by clients. I don't know if a standard exe can do this? :confused:

Hope this helps with some of your questions.

:)

Scott Penner
Aug 1st, 2001, 10:57 PM
COM dll's have a prescribed interface that Windows knows how to resolve. This is what allows you to add a reference to a dll and see the classes in VB. Traditional dlls also have an interface, but this interface is designed by the C++ programmer.

VB can access tradional dlls much in the same way that VB gains access to Windows API functions. The Declare statements define the interface to the function in the dll.

BTW all this changes in .NET :eek:

manjeera
Aug 2nd, 2001, 12:06 AM
Suggest some good links where I can learn about

DLL's , COM , Active X , DCOM. I want to know how stuff

works? I don't want to learn COM or DCOM but want

to know about what it is actually.

manjeera
Aug 2nd, 2001, 01:32 AM
Suggest some good links where I can learn about

DLL's , COM , Active X , DCOM. I want to know how stuff

works? I don't want to learn COM or DCOM but want

to know about what it is actually.

sat_sk
Aug 2nd, 2001, 03:47 AM
Hi

http://www.informit.com/free_library/

Really a very useful link.

I am also a VB programmer. Working in VB.NET right now. I have answers. But im looking for someone who can mail me and share knowledge with me..

If u r really interested to be a friend to me..please dont hesitate to reply this mail.


My Mail ID

sbala_ss@yahoo.com

Rgs
Satish.