Results 1 to 6 of 6

Thread: Difference:Component and DLL

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Location
    hyderabad
    Posts
    26

    Difference:Component and DLL

    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.
    bhav
    --------
    Sometimes you are happy quetching
    even when you know there is a solution for it

  2. #2
    Addicted Member wolfofthenorth's Avatar
    Join Date
    Jan 2001
    Location
    Tatooine
    Posts
    169
    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 )

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

    Hope this helps with some of your questions.

    That which does not kill us, only makes us stronger.

  3. #3
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327

    Lightbulb traditional (c type) dll

    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
    -scott
    he he he

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Location
    hyderabad
    Posts
    26
    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.
    bhav
    --------
    Sometimes you are happy quetching
    even when you know there is a solution for it

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Location
    hyderabad
    Posts
    26
    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.
    bhav
    --------
    Sometimes you are happy quetching
    even when you know there is a solution for it

  6. #6
    Junior Member
    Join Date
    Apr 2001
    Posts
    22

    hi

    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

    [email protected]

    Rgs
    Satish.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width