Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 19703, NT Service from a normal GUI

by Wilfried Mestdagh Email: Anonymous

Make a normal GUI and a NT service in same Delphi project and same executable in a few minutes.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 2.0  to 7.0 1919 downloads
Copyright: No significant restrictions

Size: 2,616 bytes
Updated on Sun, 30 Mar 2003 05:54:56 GMT
Originally uploaded on Sun, 30 Mar 2003 05:50:57 GMT
SHA1 Hash: 1381B52DB0A7E9349041F5211740FD0AECBF5EB2
MD5 Hash: 2C3AC80735AEFFB6F83F1AA2D3F87B42

    Explore the files in this upload

Make a normal GUI and a NT service in same project and same executable in a few minutes.

A NT service is difficult to debug, therefore most of the time a normal GUI application is made first. When it is ready then a new project is made to run it as a service. Disadvantage is it is needed to make 2 projects. Even worse is if one have to make an application that is able to run as a normal GUI and also as an NT service. Then it is nececary to keep maintainance and version information in both projects.

This little little unit that has to be included in a project and then it is possible to run the same executable as a normal GUI or as a service. There is very little coding needed in the project file. There is a brief demo included on how to use it. The demo needs my TCiaTrayIcon (downloadeble from my site), but any other tray icon (or non at all) will do of course.

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03