Building NT services

Easy Code version and later add the new Classic NT service (exe) project type, which allows you to get into service programming. When you choose a Classic NT service (exe) project type, a basic structure is created and the minimum required files are also added. This service default code can be built without errors, but it just does nothing, so it is the programmer's responsability to know how to program a Windows Service.

The "ECService" string in the default code created by Easy Code (szServName DB 'ECService', 0), will be the name for the service. You can change this name for any other you prefer, i.e. the project's name, so that the final executable file has the same name than the service.