Results 1 to 2 of 2

Thread: Dll & Exe

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    10

    Question Dll & Exe

    what's the difference between AX DLL & AX EXE ? i'm confused after reading MSDN explanation. why DLL does not support single use instancing property? when should we go for DLL & when should we use EXE?

    pls.. can u explain it with some example?

  2. #2
    Fanatic Member
    Join Date
    Aug 2001
    Location
    Connecticut
    Posts
    855
    A dll must run in the same process space as the application that calls it. An AX.exe runs in its own process space.
    Is fast component creation at run time important? Use a dll because it is slower to create components across process boundaries as with ax.exe.
    Is protection from an application crash important? Use Ax.exe because if the Ax.exe crashes it won't affect the calling application since they run in separate process spaces.
    Is calling remote components on another computer important? Use Ax.exe because being remote, it's definetly running in a separate process space.
    Is asynchronous processing important? Use Ax.exe for long jobs that can run in the background. If you use a dll, your application must wait until the dll finishes its task.

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