In this video from the recently concluded Dev Days of Summer 2024, Tim Coates will walk us through the non-UI side of Windows application development. We will dig deeper into what is NT service and why you should write one. Generally, NT Service also known as a Windows Service is a long-running executable program that operates in the background without a user interface.  

These services start when the operating system boots up or when triggered by specific events and remain running independently of any logged-in user session. They are essential for performing background tasks required by the operating system or applications, such as managing network connections, handling database requests, or running scheduled tasks. Some notable examples include Database services, print spoolers, web servers, antivirus software, and more.

Why Write an NT Service?

Writing an NT (Windows) Service can be essential for certain applications and scenarios where continuous or background operation is required. NT Services can run without user interaction and even before a user logs in. This is ideal for applications that need to be active continuously, such as monitoring systems, logging applications, or automation tools. In addition to that, Services can be set to start automatically at system boot, at specific times, or triggered by system events. This is useful for tasks like data backups, synchronization, database maintenance, or file scanning that may need to occur periodically or in response to specific system events.

The webinar also highlights the different properties of NT Services and their respective functions within the Windows operating system. These properties include DisplayName, Dependencies, Interactive, StartType, et WaitHint. Coates will also discuss some do’s and don’ts when writing NT services, different events, the process of installation and removing the service, and many more.

To learn more about NT Service, feel free to watch the video below.  The webinar also concludes with a Q and A session with Tim Coates et Ian Barker.


Réduisez le temps de développement et accédez plus rapidement au marché avec RAD Studio, Delphi ou C ++ Builder.
Conception. Code. Compiler. Déployer.
Commencer l'essai gratuitMettre à jour aujourd'hui

Édition communautaire Delphi gratuiteÉdition communautaire gratuite de C ++ Builder