Andy I have no idea what you are doing with those commands.
R:\data_papps\FreeBASIC\fbc -target win64 -v %sp%\tplink.bas fblogo.rc -x %bp%\tplink.exe
It is as simple as extracting all the files from the zip file into 1 folder.
Change to that folder and from the command line ; fbc -v -w All TPLink.bas
That's it , regardless of the fbc version.
The snc and all files needed are included in the zip.
The only thing that can go wrong is that it can't find the fbc compiler and you have to set the paths to it.
EDIT: I can't believe there are so many differences between Win & Linux.
I compiled it on Win 7 and got the same errors.
Change ReadFile to ReadFiles everywhere.(Obviously a name clash)
Change Min to Mins everywhere (Again a name clash)
Then it will compile,
Then I changed in the Command Prompt to the TPLink folder
AND GUESS WHAT, It wont run on Win 7, no error message, no printing NOTHING.
I am so happy I don't use Windows any more, sorry I can't help you any further.