-
ActiveX EXE & DLL
I have been into COM for a while only Developping ActiveX DLLs
they are neat...
but now I have more time for research and I am looking at activeX EXEs ... they seem interesting but I wonder why they are rarely used...
I might be wrong but I have never seen any application Deploying activex EXEs . they all use DLLs.
i know that Exe run out of process and that Dll run In process...
but what is the real difference between the 2 .
Which one is better and in what case ?
-
ActiveX EXEs have their uses. Because they run out of process they are slower than DLLs, but run Asynchronous. As such it does not cause any hold up in the running of your code if the EXEs processing is particularly resource intensive.
A rather useful aspect of ActiveX EXEs is that if they or one of the objects they own, crashes they do not take down the bit of code that created them as opposed to a DLL which will. This can be very useful in Client Server application that use multiple components communicating over a network environment which cannot be guaranteed to be stable.
-
Hi there,
Uses of ActiveX EXEs, all DCOM components are ActiveX EXEs. So if you are building distributed applications you would develop DCOM components.
Good luck