[SailWave] NHC scoring

Hi Jon,

Look what I got when I tried to install!

Kind Regards

Ron

···

From: sailwave@yahoogroups.com sailwave@yahoogroups.com
Sent: 21 February 2019 19:25
To: sailwave@yahoogroups.com
Subject: RE: [sailwave] NHC scoring

Version 1.9.2 is now available from

https://www.dropbox.com/s/fdeofeo6zhlo7ly/SWHelper.EXE?dl=1

This should replace the version in C:\Program Files (x86)\Sailwave

This fixes an occasional issue with a difference between the internal and external calculation when using average lap scoring where the time was being rounded differently when the average was exactly on .5

Jon

Yes Ron. That is because it is a new file.

Jon

···

Jon Eskdale
07530 112233

Skype “eskdale”

Regarding determining the version of SWHelper,

I am operating on a Mac under Wine. I have not found a way to determine the SWHelper program version number in this environment. Maybe the version number could be added to the window top frame, as with the main sailwave program?

Hi,

Agree it would be helpful.

  If you feel comfortable using a terminal window and the command

line you could try the following, which works on my Linux openSUSE
system but may not with MacOS:

  • navigate to the Sailwave directory in the terminal window
  • type the following commands in the terminal window
  • strings SWHelper.EXE > ztemp.txt
  • grep -A1 -B assemblyIdentity ztemp.txt
    In the output it lists the version number.

Kind regards,

Huw

···

On 22/02/2019 04:44, [sailwave] wrote:

mdb561@gmail.com

Regarding determining the version of SWHelper,

          I am operating on a Mac under Wine.  I have not found a

way to determine the SWHelper program version number in
this environment. Maybe the version number could be added
to the window top frame, as with the main sailwave
program?


Virus-free. www.avast.com

To make it easier for users running under Wine or on a mac to determine the Version number of SWHelper I’ve now added the version to the window.
Of course, this means it is a new version so this is now version 1.9.3 which is functionally the same as 1.9.2 but displays the version number.

Download is the same link as V1.9.2 https://www.dropbox.com/s/fdeofeo6zhlo7ly/SWHelper.EXE?dl=1

Let me know if it works for you.

Jon

···

Jon Eskdale

03333 443377

07530 112233

The version ID works great! Fabulous.

For a follow-on, is it likely you can provide a sub-series scoring capability to score defined groupings of races (such as daily totals/rankings, monthly totals/rankings, etc). That would be a real time saver for my club by avoiding making separate files for each grouping of races. Maybe it is configured a little like the throw-out race definition.

So, on the Mac, after fiddling around with the terminal commands, and learning that the grep search string needs to be in quotes, I get this output for the latest version 1.9.3 of SWHelper…

<assemblyIdentity

name="Swhelper.exe"

processorArchitecture="x86"

version="1.8.1.0"

type="win32"/>

That doesn’t look correct the version should be 1.9.3 if it is the latest one. At least now you can see the version in the window.

Jon

···

Jon Eskdale

03333 443377

07530 112233

I had the same thought, but after verifying I was examining the latest version, I figured the version ID Huw’s script extracted from SWHelper v1.9.3 executable is a version ID generated internal to your software development environment and is unrelated to the displayed version number.

No internal version

Below is all the resource info source code for the current. SWhelper.exe

//-----------------------------------------------------------------------------

#include “Resource.h”

//-----------------------------------------------------------------------------

// ** Constants **

//-----------------------------------------------------------------------------

//#PBForms Begin Constants

#define IDR_IMGFILE2 103

#define IDR_IMGFILE1 102

//#PBForms End Constants

//-----------------------------------------------------------------------------

//-----------------------------------------------------------------------------

// ** Version Info **

//-----------------------------------------------------------------------------

//#PBForms Begin VersionInfo

VS_VERSION_INFO VERSIONINFO

FILEVERSION 1,9,3,0

PRODUCTVERSION 1,9,3,0

FILEFLAGSMASK VS_FFI_FILEFLAGSMASK

FILEFLAGS 0x0

FILEOS VOS_WINDOWS32

FILETYPE VFT_APP

FILESUBTYPE VFT2_UNKNOWN

BEGIN

BLOCK “StringFileInfo”

BEGIN

  BLOCK "040904B0"

  BEGIN

     VALUE "Comments", "Orion Imaging Ltd\0"

     VALUE "CompanyName", "Sailwave\0"

     VALUE "FileDescription", "Sailwave Helper\0"

     VALUE "FileVersion", "1.09.0003.0000\0"

     VALUE "LegalCopyright", "Copyright \251 2019\0"

     VALUE "LegalTrademarks", "Sailwave\0"

     VALUE "OriginalFilename", "SWHelper\0"

     VALUE "ProductName", "SWHelper\0"

     VALUE "ProductVersion", "1.09.0003.0000\0"

  END

END

BLOCK “VarFileInfo”

BEGIN

  VALUE "Translation", 0x409, 1200

END

END

//#PBForms End VersionInfo

//-----------------------------------------------------------------------------

//-----------------------------------------------------------------------------

// ** RC Data **

//-----------------------------------------------------------------------------

//#PBForms Begin RCData

IDR_IMGFILE2 ICON DISCARDABLE “SWHelper.ico”

IDR_IMGFILE1 ICON DISCARDABLE “Sailwave.ico”

//#PBForms End RCData

//-----------------------------------------------------------------------------

//#PBForms Begin Manifest

1 24 XPTheme.xml

//#PBForms End Manifest

···

Jon Eskdale
07530 112233

Skype “eskdale”