I'm creating a Windows service with a lot of help from forum members. I need to pass a value returned by the DaemonMapper to DaemonUnit1. I understand that any variable declared with
var in the
Interface section should be global in scope. However, no matter whether I put the
in the
Interface of DaemonMapperUnit1 or in the same section of DaemonUnit1, I get "Error: identifier not found" when I try to compile.
I understand that it should be in whichever unit is initialised first, but I've tried it in both and it works in neither. Any ideas?
Thanks.