经 ALDYN Software - 产品类型: 构件 / Add-In / VCL / 源代码
SvCom by ALDYN Software
URLs: svcom, aldyn-software, aldyn software, aldynsoftware
Set of Delphi classes to develop service applications and make use of the NT Security framework. SvCom is an integrated package of classes and tools for development of service applications and use of NT Security framework. It works under all flavors of Windows. Use SvCom to deploy NT Service applications under Windows 9x/ME and NT/2000/XP/2003/Vista.
Deploy NT Service applications under Windows 9x/ME and NT/2000/XP/2003/Vista
Develop and debug NT services using either Windows 95/98 or NT - using the same classes and the same function calls
Advanced service debugging (Extremely useful, when your service is not just "Hello, World!")
Support of Win2k service failure actions
DCOM support (DCOM server in Service)
Enhanced support for DCOM objects: singleton model, apartment threading model, events support
MIDAS server in service support
Support of interactive service applications (Now it solves "Interactive Service Instability" problem too)
Configurable services support
Message processing support
Timer for services
Security-related non-visual components
Security-related visual controls
Process enumeration for Win95/98/NT/2000/XP/2003 (All in one function)
Tools and utils
Services for Windows NT/2000/XP/2003 and Windows 95/98
Using the SvCom framework applications that run as NT Services can be deployed under all 32 bit versions of Windows i.e. 2000/NT/XP/2003/9x. A Win 9x service emulator that is included with SvCom provides this unique ability. This means that any service you create using SvCom, on being executed will decide which platform it is running on, if it is Win 9x it will simply run as a normal application, otherwise it will run as a service. This service emulator for Win95/98 is based on a dynamic library that is included in SvCom that emulates accurately most NT Service features. Moreover SvCom includes an API that is similar to the native NT services API. This API is designed to allow service management without carrying about the operating system. Under NT this API passes all it's calls to the native NT services API while under Win9x it processes all calls to emulate the behavior of the NT services API.
Development of services under Windows NT/2000/XP/2003 and Windows 95/98
The SvCom components are designed to be used both in Windows NT/2000/XP/2003 and Windows 95/98/ME. So you can use any of these systems to design your application. The only limitation to using Win9x is debugging and testing your service, as there is no NT services API on these systems. But this is unlikely to cause you much of a problem, as SvCom will recognize the operating system and allow you to run and test your NT Service as if it were a normal application. Then when you later deploy it on an NT machine it will run as a NT service without any code changes.
Advanced service debugging
Debugging of SvCom-based services is far easier than debugging services created without SvCom. The standard advice for service debugging using the Delphi VCL is to start your service from the Delphi IDE and then quickly start the service using Control Panel. This is a nice trick but it is not convenient and it often doesn't work (A service with DCOM server inside is a good example). SvCom includes a powerful built-in service debugging tool. The idea of this tool is simple: if an SvCom-based application is started with the "/debug" switch it starts as an ordinary executable. Now the service will run in the debug mode exactly as it would as a service but this time you can trace it as an ordinary application. This can be done on both WinNT and Win9x machines.
Service recovery operations
Windows 2000 introduced a couple of new features for services: a service description and service recovery on failure. Starting from version 5.0 the SvCom includes built-in support for all these features. You can specify any of the allowed recovery operations: service restart, command execution or even computer reboot. Several recovery operations are allowed, Windows will execute the next one in the list after service failure occurs. The counter of failures can be reset to zero if the service works without failures for a given time interval. Use this property to make your service more reliable.
DCOM Server in NT Service
The SvCom includes it's own ActiveX framework. It is partially based on the native Delphi ActiveX framework but has some serious differences. All SvCom class factories know about SvCom services, this makes it possible to implement a DCOM server that will live in a service. SvCom takes care of all the necessary registry keys and COM initialization. SvCom-based DCOM servers automatically support pausing and stopping, it is even possible to have several services in one application with several DCOM servers in each service. What's more SvCom wizards make DCOM server in service creation as easy as possible. Starting from SvCom 5.0 the DCOM support is essentially enhanced: now you can easy create DCOM servers that support events, allow creation of objects in apartment threads or use advances of singleton model. MIDAS support is improved too. Now RemoteDataModules created to work in service correctly register themselves in the registry which greatly simplifies the MIDAS-server-in-service creation.
Interactive NT Services
The Delphi VCL was not designed to create interactive services becasue it uses some system information that changes when an interactive user logs off and logs on again. This will cause any forms that are created after a logoff/logon to appear damaged. SvCom includes a component that protects service forms from being damaged even if logoff/logon occurs several times.
Configurable NT Services
SvCom's internal design allows several instances of one service module to be created and then used as independent services. Of course the names and some other attributes of each instance should be changed to avoid problems with operating system.
Note, that with Delphi's service implementation it is not possible to use several instances of one TService descendant.
NT Service and windows messages
Standard services have no window handles at all, so the only way to send a message to this kind of service is to send it to the service thread. SvCom-base services do not have this limitation and are able to receive and process windows messages. Therefore it is possible to write a message handler for a service which will be called when the service receives the corresponding message.
Timer for NT Service
SvCom includes specialized timer component that will work in a service. This automatically detects a service being started or stopped causing an OnTimer event to occur in the service thread. Just drop it onto an SvCom service module and it is ready for use. If this component is dropped onto the form or an other module then it functions exactly the same as Delphi's timer.
SID, ACL, Security Descriptor...
The Windows NT security model includes a lot of objects and rules concerning the use of these objects. Most of these objects are variable-length records and their manipulation is additionally complicated by memory allocations and deallocation.
This means that even simple tasks can require quite complicated code to accommodate the NT security model. Most of these objects are variable-length records and their manipulation is additionally complicated by memory allocations and deallocation. SvCom includes a set of components to deal with NT security objects such as SID, ACL, SECURITY_DESCRIPTOR and so on. In addition components are provided to control user privileges and access NT secret data storage. These components take care of the correct memory allocation for security objects and conversion of their representation. This greatly simplifies the manipulation of NT security objects.
Visual NT Security Controls
SvCom's non-visual security components provide an easy way to deal with NT security objects. Visual security-related SvCom components provide all levels of functionality that are necessary to design a user`s interface.
For example, SvCom includes the security descriptor editor dialog. This is a configurable component that can be used to adjust security of any NT securable object. It's security-editing capabilities are much powerful then NT 4.0 and comparable with NT 2000.
Is there an interactive user?
SvCom includes non-visual component that detects when the interactive user logs on or off. There are no standard API to solve this task. Microsoft recommendation is to analyze the list of running processes to answer this question. This is the method is employed by SvCom and it works both in WinNT and Win9x.
List of processes
Windows NT/2000/XP/2003 and Windows 95/98/ME supply a different API to obtain the list of running processes. SvCom includes simple functions that work both in WinNT and Win9x and returns the list of processes in the string list.
Utils and tools
SvCom includes several applications that are useful for service development. They include
Service Indicator - application that sits in tray and shows the state of one selected service and allows control of it
Service Controller - command line service control tool for Windows NT/2000/XP/2003 and Windows 95/98/ME
What's New in SvCom V7.78
Delphi XE3 support
GuiServer example fixed. The client was launced in the Session 0 on Windows7 x64
What's New in SvCom V7.7
64 bit support
Delphi XE2 support
Logon sensor behaviour in the case of 32bit exe under x64 Operating System is fixed
Service application registers correctly even when a subst drive is used
What's New in SvCom V7.6
Essential bug fixes
What's New in SvCom V7.5
Delphi XE support
Improved "build all" support: mk_view.ini and mk_setting.ini are auto-filled
Set of Delphi classes to develop service applications and make use of the NT Security framework.
Pricing: SvCom V7.8 1 Developer License (Includes 1 Year of Updates and Support), SvCom V7.8 1 Site License (Includes 1 Year of Updates and Support) (Allows Unlimited Developers at a Single Physical Address), SvCom V7.8 1 Site License Upgrade from Single License (Includes 1 Year of Updates and Support) (Allows Unlimited Developers at a Single Physical Address), SvCom Updates and Support Renewal 1 Year of Updates and Support Renewal for Single Developer License, SvCom Updates and Support Renewal 1 Year of Updates and Support Renewal for Site License, SvCom V7.8 - Educational License 1 Educational License
Evals & Downloads: Read the SvCom help file, Read the SvCom End User License Agreement, Download the SvCom V7.4 C++ Builder evaluations on to your computer - Displays Evaluation Messages, Download the SvCom v7.8 Delphi evaluations on to your computer - Displays Evaluation Messages
Operating System for Deployment: Windows 7, Windows Server 2008, Windows Vista, Windows XP, Windows Server 2003, Windows ME, Windows 2000, Windows 98, Windows NT 4.0, Windows 95
Architecture of Product: 32Bit, 64Bit
Product Type: Component, Add-In
Component Type: VCL, Source Code
Compatible Containers: Embarcadero RAD Studio XE3, Embarcadero RAD Studio XE2, Embarcadero RAD Studio XE, Embarcadero RAD Studio 2010, CodeGear RAD Studio 2009, C++Builder 6, C++Builder 5, Delphi XE3, Delphi XE2, Delphi XE, Delphi 2010, Delphi 2009, Delphi 2007 for Win32, Delphi 2006 (10.0), Delphi 2005 (9.0), Delphi 8.0, Delphi 7.0, Delphi 6.0, Delphi 5.0
Keywords: SvCom, sv com,
Part numbers: PC-541383-558336 541383-558336 PC-541383-558340 541383-558340 PC-541383-558342 541383-558342 PC-541383-558344 541383-558344 PC-541383-558346 541383-558346 PC-541383-558338 541383-558338