[Dx4win] DX4WIN Data Updater - small bug

Jim Reisert AD1C jjreisert at alum.mit.edu
Tue Dec 6 19:05:24 EST 2011


I've made a test version available (4.5a) to fix the DST problem.
Unfortunately, the only way to test it is to replace the current
version (4.4).  I have tested it by resetting my PC to various dates
(in my own time zone) and it seems to work OK.  I also tested it in
the "Casablanca" (UTC, no DST) time zone.

Could the people who had problems please try this new version out?

Simply run your current updater.  It will ask if you want stop and
update dx4wupd.exe.  Answer Y (yes).  Let the update download.  When
prompted, exit the updater and copy DX4WUPD.EXE from your UPDATE
directory to your DX4W### directory, over-writing the existing file
(remember, the updater can't do this automatically).

When you run the updater again, the banner should say:

    DX4WIN Data Updater - Version 4.5a
    Jim Reisert, AD1C - 06 December 2011 23:51:23

You should not get any prompts to download the updater (or anything
else).  Try setting your PC to a date that is in a different daylight
savings time configuration than you are now currently in (this
probably varies by hemisphere), for example, July 6 in the USA (make
sure to "Apply" the change).  Or you can change the "Automatically
adjust clock for daylight saving changes" setting in Date and Time
Properties, Time Zone tab.

The real test is when your time zone changes from DST to non-DST or
vice-versa, assuming the program was last updated *before* the change.
 At the very least, we'll know by April (?) in the USA whether my fix
worked or not.

73 - Jim AD1C

p.s.  This is a Windows issue.  The fix itself wasn't that hard; the
hard part was finding a different Perl module/function to use for
checking the time when a file was modified.  If you want to read about
the ugly details:

    http://search.cpan.org/~shay/Win32-UTCFileTime-1.52/lib/Win32/UTCFileTime.pm#Introduction

> I noticed a small problem with the DX4WIN Data Updater when I ran it
> this morning to get the latest updates.  Because the USA went from
> daylight savings time to standard time in early November, and the
> updater was uploaded during the DST period, the updater thinks that
> the DX4WUPD.EXE file on the website is different. This is simply
> because the timestamp on the file is one hour different compared to
> the one on the PC, at least if the PC is set to local time, not UTC.
> This causes the updater to prompt you to download it again.
>
> The current version of the updater is 4.4 and has not changed since
> September, so you don't have to download the updater file again.
>
> I am not sure what is causing this problem, so I'll have to look into
> it before daylight savings time starts again, at which point, if there
> are no updates, the problem will fix itself.

-- 
Jim Reisert AD1C, <jjreisert at alum.mit.edu>, http://www.ad1c.us


More information about the DX4WIN mailing list