-
Hi,
I'm using VB6. I have noticed this option where you can create an ActiveX EXE. I know that there is a big difference between it and a Standard EXE, but could someone please explain to me the purpose of an ActiveX EXE, also, why use it and how to use it. Also if you can compare it with a DLL file or a normal ActiveX file so that I can better understand it, that would be gladly appreciated.
------------------
OmarSwan
[email protected]
http://omarswan.cjb.net
To God Be The Glory
-
an ActiveX EXE is an application that can be run on the same computer as a standard EXE, and the standard EXE can invoke methods on the ActiveX EXE. This is generally slower because of the marshalling that needs to take place for cross-process procedure calls.
You can also have an ActiveX EXE run remotely and make calls from client computers. your client EXE and the ActiveX EXE communicate via DCOM over the network.
There is usually little need to make an activeX exe. On the client, performance is better with ActiveX DLLs (which are in-process) and on the server, you're better off putting your ActiveX DLLs into MTS (for performance reasons, once again, and distribution/client configuration are much easier)
Tom