At the time of writing vk5dj_sunmoon.dll is at version 2.16
I have added illumination (%) and phase information in several ways. The conventional amateur operators phase of 0>0.5>1.0 with 0.5 as full moon (can be converted to degrees by multiplying by 360), a phase angle derived from the astronomical convention of the angle formed by a line drawn from the sun to the moon, and a line from the moon to the observer (this is less useful for amateurs). I also output the quarter of the moon.

See the document files for more detail.

I have also updated the test program for the DLL in both compiled form (TESTDLL.exe) and as the Delphi source (I use Delphi XE5 but it should also compile OK with Delphi 7 with perhaps a change of name for the project file.) The compile program uses all the outputs of the DLL and gives an idea of the capability. It is also useful for checking particular preset times etc.

Unzip all the files to the same directory. There is no need to install the program. If you no longer need it just delete the directory.

John
VK5DJ
18th September 2014

 