Products:
    
- SvCom
Download:
    
- SvCom
Ordering:
    
- Order now!
- Partner Offers
- Resellers wanted
Support:
    
- Forum
- Contact directly
- Bugtracking
|
 |
|
Simple service with COM
Events support |
|
This example shows how to implement support of COM
events in the SvCom-based service application. The service application
itself is considered below while the client application is described
in the next example.
The Service with COM Events support is an effective
way to implement bi-directional connection between service application
and GUI front-end. The regular COM server application can process calls
from single or multiple clients but it can not access client without
its explicit request. The service with COM events support allows clients
to register their callback interfaces so clients can be notified when
server needs to do it.
This example includes the following steps:
- Creation of new SvCom
service application. This step it is exactly the same as the step
1 of "Simple NT Service" example. Save your project
as ComServiceWithEvents.dpr
- Adding new service
module. This step adds a service module with COM support to the
sample application.
- Creation of COM Object
with singletone factory and events support.
- Implementation of COM Object
methods
- Client application
impelmentation
Use links below to download source code of this example
as well as example's binary. Please note that corresponding version
of Delphi should be installed to run this example.
- for Delphi 4,
Ver. 7.0.172.283, 29.10.2005, 35Kb
- for Delphi 5,
Ver. 7.0.172.283, 29.10.2005, 35Kb
- for Delphi 6,
Ver. 7.0.172.283, 29.10.2005, 48Kb
- for Delphi 7,
Ver. 7.0.172.283, 29.10.2005, 48Kb
- for Delphi 2005,
Ver. 7.0.172.283, 29.10.2005, 48Kb
- for Delphi 2006,
Ver. 7.0.172.283, 29.10.2005, 48Kb
|
 |
SvCom
links:
    
- Overview
- Download
- Purchase
- FAQ
- Tutorial
- What's new
- Partner offer
- For registered users
- Support
|