On 2017-03-25 22:57, Brian Inglis wrote: > On 2017-03-25 16:09, Dan Gearty wrote: >> I have been using the loopback driver on Windows 10. >> It had been running OK in older versions up to 4.2.8p9. >> Now in 4.2.8p10 it appears that junk characters are appended to the >> driver name when it is called. The junk characters are different each >> time NTP is restarted. >> 25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files >> (x86)\NTP\bin\loopback-ppsapi-provider.dll???????nY?': The specified module >> could not be found >> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files >> (x86)\NTP\bin\loopback-ppsapi-provider.dll???????nY?) --> 2 / No such file >> or directory >> 25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files >> (x86)\NTP\bin\??h?l?': The specified module could not be found >> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files >> (x86)\NTP\bin\??h?l?) --> 2 / No such file or directory >> 25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files >> (x86)\NTP\bin\A': The specified module could not be found >> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files >> (x86)\NTP\bin\A) --> 2 / No such file or directory >> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: no providers available >> 25 Mar 16:57:32 ntpd[14436]: refclock_ppsapi: time_pps_create: Exec format >> error >> 25 Mar 16:57:32 ntpd[14436]: GPS_NMEA(4) flag1 1 but PPSAPI fails > > Have you defined the System (HKLM) environment variable PPSAPI_DLLS to > point to C:\Program Files (x86)\NTP\bin\loopback-ppsapi-provider.dll? > > Win-Break/Advanced system settings/Advanced tab/Environment Variables... > button/ > /System variables pane/New.../New System Variable dialogue: > Variable name: PPSAPI_DLLS > Variable value: C:\Program Files (x86)\NTP\bin\loopback-ppsapi-provider.dll > > reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session > Manager\Environment" /f PPSAPI_DLLS > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session > Manager\Environment > PPSAPI_DLLS REG_SZ C:\Program Files > (x86)\NTP\bin\loopback-ppsapi-provider.dll > End of search: 1 match(es) found.
Of course that command line wrapped at the most ambiguous place: cmd > reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ^<ENTER> More? /f PPSAPI_DLLS<ENTER> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment PPSAPI_DLLS REG_SZ C:\Program Files (x86)\NTP\bin\loopback-ppsapi-provider.dll End of search: 1 match(es) found. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada _______________________________________________ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions