|
Here you will find various examples that
show how to use SvCom components. The list of examples grows all the time. The
fact is that I receive a lot of messages with requests about "how to
do"... The digest of most popular questions with step-by-step instructions and
comments is below. Have your own question?
Ask me and likely you will see related
example in this list. Have your own example and want to publish it here?
Just let me know!
- Simple
service. It shows the basic steps that are necessary to create your own
service, install and run it. The basics of service debugging are here
too.
- Advanced service. It is a service that has event
handlers. This example shows how to use OnStart, OnStop, OnExecute and
other key events.
- Interactive service. It was a first example of
interactive service. The TsvSurviver component was created much more later then
this example was published. Now this component exists and interactive service
can be created with ease. See the advanced
interactive service example to learn how to do it.
- DCOM server in a
service. This example shows how to implement the DCOM server that lives
in a service.
- DCOM Server with event
support. It is a third-party example, that shows how to add the
support of events to DCOM server.
- Secret storage. Windows
NT has a secret region in the registry that is encrypted and can't be accessed
with common registry functions. Here is a door...
- SID stuff. Basic
Windows NT security objects are SID, ACL, security descriptor... Here you will
find how to work with SID...
- ACL editor. ... and
with ACL.
- DDE server. And it
works in a service. Get it.
- Process List. Windows
9x and Windows NT/2000 supply different API for it and this API is too
complicated. With SvCom you will need one function only and will work on both
9x and NT/2000 systems. Get the process list with ease.
- Advanced interactive
service. The Delphi VCL (and BCB too!) has an internal problem that does
not allow to create interactive services. With SvCom it is possible! Just drop
the TsvSurviver components onto service's forms and they will successfully
survive logoff/logon!
- How to obtain the name of
interactive user. Note that the service can't use the GetUserName method
for this purpose.
- Configurable service
with reusable service module and windows messages processing.
- MIDAS server in
service. This example uses TDataSetProvider, TDCOMConnection and
TClientDataSet and shows how to use these components in an NT service
application.
|