Mastering PowerBuilder

HomePrevious Lesson: The PowerBuilder Window
Next Lesson: OLE Automation - PowerBuilder Implementation

In-Process Versus Out-Process

When OLE Automation is implemented as In-Process, OLE Server uses OLE Client Application's memory; OLE Server is implemented as DLL (Dynamic Linked Library). A Dynamic Linked Library doesn't have its own stack, instead it uses the application's memory that is called. On the other hand, Out-Process OLE Automation doesn't use OLE Client application's memory, instead, it uses its own memory. The implementation is typically done with EXE files. This is more complex than In-Process automation, since the implementation should take care of communication between OLE Server and OLE Client. Well, COM specification hides this complexity from the OLE Server/OLE Client developer's. You can also implement Network Out-Process OLE Automation, however, you need to wait till Microsoft implements Distributed OLE.
HomePrevious Lesson: The PowerBuilder Window
Next Lesson: OLE Automation - PowerBuilder Implementation