Can anyone give reasons why one should pick either an:
out of process activeX exe,
or in process activeX dll?
Is there any good resources also that you may have run across on the web?
Printable View
Can anyone give reasons why one should pick either an:
out of process activeX exe,
or in process activeX dll?
Is there any good resources also that you may have run across on the web?
Ho Bill
Please feast your eyes on the info below!
If your component is going to provide ActiveX documents, you can open either an ActiveX EXE project or an ActiveX DLL project. (The New Project dialog box provides templates for new projects that will provide ActiveX documents.)
See "Building ActiveX Documents" for a discussion of the reasons to choose an in-process or out-of-process component to provide active documents.
If you’re creating an out-of-process component, open a new ActiveX EXE project. Reasons to create an out-of-process component include:
The component can run as a standalone desktop application, like Microsoft Excel or Microsoft Word, in addition to providing objects.
The component can process requests on an independent thread of execution, notifying the client of task completion using events or asynchronous call-backs. This frees the client to respond to the user.
If you’re using COM or Remote Automation to run components on remote computers (Enterprise Edition only), some components may need to be .exe files.
If you’re creating an in-process component, open a new ActiveX DLL project. Reasons to create an in-process component include:
An in-process component shares its client’s address space, so property and method calls don’t have to be marshaled. This results in much faster performance.
An in-process component designed for unattended execution (that is, no user interaction) can be marked thread-safe. When used by a multithreaded client, it can provide objects on any of the client’s threads of execution, while retaining the performance benefits of in-process method and property calls.
go search on this: Choosing a Project Type and Setting Project Properties
thx sul