I've just uninstalled Lazarus 2.0.8 and installed Lazarus 2.0.10 in an attempt (with the help of PascalDragon) to add detection of user logons to a service which was basically written for me some years ago. I knew that I would have to recreate the service and realised this wouldn't be easy for a programmer with my limited ability. However, I've fallen at the first hurdle. The service (unchanged so far) that compiled and ran fine under the old Lazarus will no longer compile.
I've added LazDaemon to the new installation, rebuilt the IDE and attempted to build the service. I immediately see the following error:
Compile Project, Target: bc2.exe: Exit code 1, Errors: 1
daemonmapperunit1.pas(15,17) Error: Forward declaration not solved "DaemonMapper1Create(TObject);"
I must be missing something obvious but don't understand why this would compile under the old Lazarus but now won't. Obviously there is code missing or not found, but what is that? I've checked the Wiki (
https://wiki.freepascal.org/Daemons_and_Services), change logs and the Readme but can't see any mention of changes to how daemons work. I've attached my project.
Thanks for any help.