Results 1 to 3 of 3

Thread: ActiveX DLL or EXE?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    When creating an ActiveX component, what situations would warrent a ActiveX DLL and what situations would warrent an ActiveX EXE? I'm just trying to understand the difference between the two and when I should use one over the other..

    Any help and/or examples would be appreciated..

    Dan

  2. #2
    Guest
    dbassett74

    In a nutshell an Activex DLL is "in process" and an ActiveX EXE is "out of process".

    What this means is your app waits for in process things to finish before continuing, a good example is a database transaction which you need to know either succeeded or failed and you don't want to go on processing until you know the answer.

    Out of process means the ActiveX EXE goes off on it's own thread of execution, an example would be generating emails, you just kick off the process, it goes off sending hundreds of emails and in the meantime your app goes on executing and responding to the user.

  3. #3
    Hyperactive Member tumblingdown's Avatar
    Join Date
    Mar 2000
    Posts
    362

    Pardon?

    If the .exe gives to the calling process, then yes, but it doesn't have to.

    It is not an inherently asynchronous situation, you have to design it that way.


    td.
    "One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig


    [email protected]

    "but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.

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