Standard
and ActiveX .exe projects: A Beginner’s Guide...Contd.
2.0 Standard and ActiveX Applications: 2.1 What is a standard exe application?
2.2 Standard EXE areas of use: A standard
EXE application is normally used when you want to develop a stand-alone
application. Examples include calculators, text editors, and other similar
applications. 2.3 What is an ActiveX EXE application? An ActiveX
EXE application is one that is created using ActiveX EXE project. ActiveX EXE
are widely used in conjunction with standard EXE applications. There are three
types of widely used of ActiveX projects. These are: a.
ActiveX EXE b.
ActiveX DLL c.
ActiveX Control ActiveX EXE:
Unlike a stand-alone EXE file, an ActiveX EXE file is designed to work as an
OLE server, which is nothing more than a program designed to share information
with another program. It has an .EXE file extension. ActiveX DLL:
ActiveX DLL files are not meant to be used by themselves. Instead, these types
of files contain subprograms designed to function as building blocks when
creating a stand-alone program. It has a .DLL file extension. ActiveX
Control: Unlike an ActiveX DLL or ActiveX EXE file, an ActiveX Control file
usually provides both subprograms and a user interface that you can reuse in
other programs. It has an .OCX file extension. 2.4 ActiveX EXE/DLL Usage
An ActiveX Exe provides
the reusability of code, by accessing it from different clients. An
ActiveX Exe is a component that can be called by another application by
providing a reference to the component. But a Standard Exe application cannot
be called in this way. An
ActiveX EXE's code is run in a separate process. When the main program calls an
ActiveX EXE's method, the application passes required parameters into the
ActiveX EXE's and calls the method. The ActiveX EXE, upon execution may return
the results to the main program. This is slower than running an ActiveX DLL's
method inside the main program's address space. HOME UP
|
|||||||||||||||||||