Released: Nov 17, 2006
Desaware NT Service Toolkit での更新項目
機能
New Service Executable Command Line options
- User and -Password allow you to specify the account in which the service will run. This setting overrides that provided in the Service Configuration file, and is ideal for cases where the account must vary from system to system. These options are not supported for services that are set to interact with the desktop
- Params allows you to set parameters during installation which can be read at any time by the service when it runs
- Silent prevents any message boxes from being displayed during installation operations, improving support for remote and automated installs
New IdwServiceControl Methods and Properties
- StartupParameters - Allows you to read parameters set during manual startup of a service via the control panel or Service Control Manager
- InstallParameters – Allows you to read parameters specified in the command line when the service is installed
- Trace – Allows you output arbitrary text from your service component to the framework tracing system for diagnostic purposes (see following section)
- GetInteractiveUser – Obtains the account information for the currently logged on user
Improved Instrumentation and diagnostics
- Framework logging – Definable trace levels control logging of detailed information about the operation of the framework to help resolve configuration issues
New features for Interactive Services
- New IdwEasyService2 interface provides an OnLogout method that allows you to determine when an interactive user has logged off the system
- New features allows you to determine if an interactive user is logged on and retrieve their account name and domain in most cases
Improved Error Handling
- Robust trapping and detection of runtime errors that occur in your Visual Basic component allow cleaner shutdown of services when errors occur. Improved diagnostics allow reporting of where and when errors occur, making debugging of services much easier
Service Control Features
- New VB6 classes demonstrate how to control services (including starting, stopping and sending information to running services). Full source code for these classes is included