Results 1 to 4 of 4

Thread: DCOM DLL vs EXE

  1. #1

    Thread Starter
    Hyperactive Member Dorothy's Avatar
    Join Date
    Feb 2001
    Posts
    310

    Question DCOM DLL vs EXE

    In DCOM, How does a Activex DLL server differ from a Activex EXE other than that the earlier runs as a surrogate. When should one use a DLL server and When should one use a EXE server?

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    ActiveX DLL - In-process Server
    Component runs in the same process space as the calling client

    ActiveX EXE - Out-of process Server
    Runs in a seperate process than the calling client

    Also, the dll only has to run in a surrogate process because it can not run as a stand alone executable.

  3. #3

    Thread Starter
    Hyperactive Member Dorothy's Avatar
    Join Date
    Feb 2001
    Posts
    310

    Unhappy Thanks

    Ok, Thanks for it. When should one use a DCOM DLL server and When should one use a DCOM EXE server?

  4. #4
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    It all depends on your requirements. For example, if you want to access your business objects remotely, you could you an ActiveX EXE or import your dll into MTS or a surrogate. Now, if you want to use your business objects on the client side, I would create an activeX dll and register it locally. Also, activeX EXE are much slower than in-process components.

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