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?
Printable View
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?
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.