Products:
- SvCom
- Shell+
- PerfUtils
Download:
- SvCom
- Shell+
- PerfUtils
Ordering:
- Order now
Support:
- Contact directly
|
|
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 10.3.1 Rio (64bit),
Ver. 8.7.396.692, 12.03.2019, 1210794
- for Delphi 10.3.1 Rio (32bit),
Ver. 8.7.396.692, 12.03.2019, 62059
- for Delphi 10.2 Tokyo (64bit),
Ver. 8.5.376.614, 11.04.2017, 1154965
- for Delphi 10.2 Tokyo (32bit),
Ver. 8.5.376.614, 11.04.2017, 61875
- for Delphi 10.1 Berlin (64bit),
Ver. 8.5.376.614, 16.04.2017, 1142815
- for Delphi 10.1 Berlin (32bit),
Ver. 8.5.376.614, 16.04.2017, 61502
- for Delphi 10 Seattle (64bit),
Ver. 8.5.376.614, 11.04.2017, 1141840
- for Delphi 10 Seattle (32bit),
Ver. 8.5.376.614, 11.04.2017, 61283
- for Delphi XE8 (64 bit),
Ver. 8.5.376.614, 16.04.2017, 1139491
- for Delphi XE8 (32 bit),
Ver. 8.5.376.614, 16.04.2017, 60733
- for Delphi XE7 (64 bit),
Ver. 8.5.376.614, 16.04.2017, 1147108
- for Delphi XE7 (32 bit),
Ver. 8.5.376.614, 16.04.2017, 60747
- for Delphi XE6 (64 bit),
Ver. 8.5.376.614, 16.04.2017, 1154177
- for Delphi XE6 (32 bit),
Ver. 8.5.376.614, 16.04.2017, 60857
- for Delphi XE5 (64 bit),
Ver. 8.5.376.614, 16.04.2017, 1030629
- for Delphi XE5 (32 bit),
Ver. 8.5.376.614, 16.04.2017, 61277
- for Delphi XE4 (64 bit),
Ver. 8.5.376.614, 16.04.2017, 1028030
- for Delphi XE4 (32 bit),
Ver. 8.5.376.614, 16.04.2017, 61238
- for Delphi XE3 (64 bit),
Ver. 8.5.376.614, 16.04.2017, 1009628
- for Delphi XE3 (32 bit),
Ver. 8.5.376.614, 16.04.2017, 60592
- for Delphi XE2 (64 bit),
Ver. 8.5.376.614, 16.04.2017, 756743
- for Delphi XE2 (32 bit),
Ver. 8.5.376.614, 16.04.2017, 61227
- for Delphi XE,
Ver. 8.4.362.599, 18.06.2016, 61551
- for Delphi 2010,
Ver. 8.0.334.534, 25.04.2015, 62025
- for Delphi 2009,
Ver. 8.0.334.534, 25.04.2015, 49647
- for Delphi 2007,
Ver. 8.0.334.534, 25.04.2015, 47935
- for Delphi 2006,
Ver. 8.0.334.534, 25.04.2015, 47815
- for Delphi 2005,
Ver. 8.0.334.534, 25.04.2015, 47971
- for Delphi 7,
Ver. 8.4.362.599, 27.06.2016, 47818
- for Delphi 6,
Ver. 7.7.239.371, 05.11.2011, 262Kb
|
|
SvCom
links:
- Overview
- Download
- Purchase
- FAQ
- Tutorial
- What's new
- For registered users
- Support
|