... cPath variable that points to the data file. When run as a service, Windows has it start in the System32 folder, even though that is not where it physically resides, and it can't find the data files. I could probably put a configuration file in the System32 folder to be read by the service, but ...