by ALDYN Software - Product Type: Component / Add-In / VCL / Source Code
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.
Our regular prices are shown below. Please logon to see your discounted prices.
|Add to Cart||$ 136.22||1 Developer License (Includes 1 Year of Updates and Support)||Download (98.5 MB)|
|Add to Cart||$ 587.02||1 Site License (Includes 1 Year of Updates and Support) (Allows Unlimited Developers at a Single Physical Address)||Download (98.5 MB)|
|Add to Cart||$ 410.62||1 Site License Upgrade from Single License (Includes 1 Year of Updates and Support) (Allows Unlimited Developers at a Single Physical Address)||Verify||Download (98.5 MB)|
|Add to Cart||$ 48.02||1 Year of Updates and Support Renewal for Single Developer License||Download (212 KB)|
|Add to Cart||$ 195.02||1 Year of Updates and Support Renewal for Site License||Download (212 KB)|
|Add to Cart||$ 87.22||1 Educational License||Download (98.5 MB)|
Our prices include ComponentSource technical support and, for most downloadable products, an online backup and a FREE upgrade to the new version if it is released within 30 days of your purchase. All sales are made on our standard Terms and Conditions and subject to our Return Policy. Please contact us if you require any licensing option not listed, including volume licensing and previous versions.
Our regular prices are shown above. Please logon to see your discounted prices.
What's New in SvCom V7.78
What's New in SvCom V7.7
What's New in SvCom V7.6
What's New in SvCom V7.5
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