pcplayer:
fish: NT Service from a normal GUI
[阅读: 393] 2005-01-03 16:35:27
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.
http://www.mestdagh.biz