SYSUTILS command TIMESYNC error

May 29, 2008
547
3
Groton, CT
Sometimes, but not always, the TIMESYNC command in the SYSUTILS plugin produces an error like
Code:
[ 3/02/16 15:06:55][2076] Invalid access to memory location.
 "TIMESYNC"
I'm using sysutils64.dll Version 2016.125 Build 223431 on Windows 7, TCC 17.00.77 x64.
The timeserver set in the ini-file is TimeServer=1.pool.ntp.org
 
May 20, 2008
10,277
73
Syracuse, NY, USA
It's OK here. What options are you using? Is there any output before the error message? Is there any delay before the error message?
 
May 29, 2008
547
3
Groton, CT
Vince,

It's in a batch file, normally, but I did try it interactively. I noticed no perceptible delay (but I wouldn't notice a delay of, let's say, 100 ms, would I?
I'm using TIMESYNC /A.
 
May 20, 2008
10,277
73
Syracuse, NY, USA
OK, I duplicated the problem. It is this: TakeCmd.dll no longer exports "error()" (a generic error-reporting function), which it did for ages (including v17). So new versions of my plugins use the recommended "TCError()". But TCError() does not exist in v17 and I failed to check for failure to load it. I kludged around that difficulty and uploaded a new build to ftp://lucky.syr.edu. Give it a try.

If you use other recent builds of my other plugins with v17, you may run into this again. Let me know if you do.