Kbase 16648: ACTIVEX - in-process Server: advantages and disadvantages.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/22/2003 |
|
Status: Unverified
GOAL:
ACTIVEX - in-process Server: advantages and disadvantages.
FIX:
An in-process ActiveX Automation Object is a dynamic-link library (.DLL file) that runs in the same process (i.e. address space) as Progress under Windows.
This kind of ActiveX Automation Object has the following advantages and disadvantages:
Advantages
----------
1) Execution is faster than with an out-of-process ActiveX Automation Object since COM does not have to handle the transfer of data between address spaces.
2) Can be called from the 32-Bit Character Client running on Windows. However, if the object expects/uses a window handle it may fail. This failure may cause a GPF within the Character Client.
Disadvantages
-------------
1) It is more likely that it will cause a GPF within Progress since it runs in the same process/address space as Progress does. An unexpected termination of an in-process ActiveX Automation Object cannot normally be handled gracefully by a Progress application.
2) It must be a 32-Bit program. We cannot load a 16-Bit program into a 32-Bit process/address space. This is the same as with any DLL being used with Progress.