A programmers utility that manages your programs that should be run as Windows Services
Windows Services Manager has two parts:
The first part is a program that manages Windows services. All information is conveniently saved in a database to help you manage your services. You can create, edit, remove, start and stop them. If a service crashes it can be automatically restarted. It can also timestamp your programs if you are using digital software certificates.
The second part can protect your program from virus threats, provided you are using a digital software certificate. It works by checking that the digital certificate is valid each time your program is started. Even if a single byte has been changed, the user will be warned that the program has been tampered with and the application will be closed.
This is also an example of a “portable” application. It means that the .exe file can be copied or moved to any folder and started from there. All other files used by the application, like manifest-files, com/active-x components and its database will be automatically unfolded in the targeted folder where the application is started from. We have a step-by-step instructional video for this over on our YouTube channel
Of course, there needs to be a DataFlex runtime engine available for this to work.
In the source for this workspace, there is also a new class named cVDFService that can be used when writing Windows services programs. In the OnProcess event of this class, you put your code. All errors are automatically redirected to a log file. There is also a MakeServiceSleep function that will make sure that the Windows services you write will free Windows resources so that the CPU is not used at 100%.