Archive

Archive for March, 2016

CEnumerateSerial v1.29

March 28, 2016 Comments off

Just to let everyone know that v1.29 of CEnumerateSerial has been released. Updates for this version include:

  • Updated copyright details.
  • Updated CEnumerateSerial::RegQueryValueString to ensure that non null terminated data returned from the registry API is null terminated before it is treated as such in the code.
  • Reworked CEnumerateSerial::UsingRegistry to internally use CEnumerateSerial::RegQueryValueString. This ensures that non null terminated data returned from the registry API is null terminated before it is treated as such in the code.
Advertisements
Categories: Web Site Updates

AA+ v1.69

March 28, 2016 Comments off

Just to let everyone know that v1.69 of AA+ has been released. Updates for this version include:

  • Fixed two transcription errors in CAAMoonNodes::PassageThroNode. The first error was the calculation of the D4 local variable which represented 4D in Meeus’s formulae while the second error was in the -E*0.0003*sin(2D – 2M) coefficient. With these two fixes the calculated time of Example 51.a from Meeus’s book is within 2 seconds of the value he reports. Thanks to Alejandro Krohn for prompting this bug fix.
Categories: Web Site Updates

AA+ v1.68

March 27, 2016 Comments off

Just to let everyone know that v1.68 of AA+ has been released. Updates for this version include:

  • Updated CAAEclipses::Calculate to return a bitmask of attributes about the calculated solar eclipse in CAASolarEclipseDetails::Details. These attributes correspond to the values as discussed in Meeus’s book on Pages 381 & 382. Thanks to "Pavel" for providing this nice addition.
Categories: Web Site Updates

SQLiteWrappers v1.05

March 25, 2016 Comments off

Just to let everyone know that v1.05 of SQLiteWrappers has been released. Updates for this version include:

  • Updated copyright details.
  • Updated the code to clean compile in VC 2013 & VC 2015
  • Addition of a "SQLITE3WRAPPERS_WIN32_INCLUSION" pre-processor define which if set will cause SQLite3 to be pulled in via a #include <winsqlite\winsqlite3.h>. This allows SQLiteWrappers to be compiled against the Windows 10 DLL version of SQLite. Please note that to use this you must use the Windows 10.0.10586.0 SDK. Note that even when you do this you will probably get import errors trying to link your code. This is because the version of SQLite included in Windows 10 is 3.8.8.3 and the winsqlite3.h header file included in the Windows SDK does not have the correct defines in it to allow you to specify the __stdcall calling convention when linking to the DLL. You can change the calling convention on the translation unit which includes SQLiteWrappers.h in your application by using the __stdcall (/Gz) compiler setting and then your code should link properly. A checkin was done in March 2015 to the SQLite codebase which addresses this and you should expect to see this fix in the next release of the Windows 10 SDK. For the moment because of this issue, it is still easiest to just add the SQLite amalgamation files to your Visual Studio project to pull in support for SQLite3.
  • Updated the code to compile against SQLite 3.11.1. Added support for sqlite3_close_v2, sqlite3_malloc64, sqlite3_realloc64, sqlite3_bind_blob64, sqlite3_bind_text64, sqlite3_bind_zeroblob64, sqlite3_value_subtype, sqlite3_value_dup, sqlite3_value_free, sqlite3_stmt_scanstatus, sqlite3_stmt_scanstatus_reset, sqlite3_db_cacheflush, sqlite3_snapshot_get & sqlite3_snapshot_open
Categories: Web Site Updates

AA+ v1.67

March 20, 2016 Comments off

Just to let everyone know that v1.67 of AA+ has been released. Updates for this version include:

  • CAAPrecession::AdjustPositionUsingUniformProperMotion now ensures that the return value is in the normalized range for right ascension and declination.
  • CAAPrecession::AdjustPositionUsingMotionInSpace now ensures that the return value is in the normalized range for right ascension and declination.
  • CAAPrecession::PrecessEquatorial now ensures that the return value is in the normalized range for right ascension and declination.
  • CAAPrecession::PrecessEquatorialFK4 now ensures that the return value is in the normalized range for right ascension and declination.
  • CAAPrecession::PrecessEcliptic now ensures that the return value is in the normalized range for ecliptic longitude and latitude.
  • CAAPrecession::PrecessEquatorialFK4 now adds the Equinox correction to the returned right ascension. Thanks to "Pavel" for reporting this issue.
  • Optimized the code in CAAPrecession::PrecessEquatorial, CAAPrecession::PrecessEquatorialFK4 & CAAPrecession::PrecessEcliptic.
  • Updated the documentation for CAAPrecession::PrecessEquatorialFK4 to be explicit on what coordinate system the parameters and return value are defined in. Thanks to "Pavel" for reporting this issue.
  • Fixed a transcription error in the CAAGlobe::RhoSinThetaPrime and CAAGlobe::RhoCosThetaPrime functions. The value 6378149 was being used instead of the correct value 6378140. Thanks to "Pavel" for reporting this bug.
Categories: Web Site Updates

COSMCtrl v1.21

March 15, 2016 Comments off

Just to let everyone know that v1.21 of COSMCtrl has been released. Updates for this version include:

  • Updated copyright details.
  • Updated code to compile with CNominatim v1.03, GPSCom2 v1.02, CEnumerateSerial v1.28, MFCSensor v1.03, WinHTTPWrappers v1.10.
  • Added SAL annotations to all the code.
  • Reworked all the virtual methods which take a "CPoint" parameter to now take a "const CPoint&" parameter
  • Improved the failure code paths in the COSMCtrl::Create method
  • Eliminated the need for the internal class COSMCtrlWinHTTPRequestFactory
  • Reviewed the text in all the TRACE calls.
  • Updated the code to compile cleanly on VC 2015.
Categories: Web Site Updates

CMMSystem v1.04

March 12, 2016 Comments off

Just to let everyone know that v1.04 of CMMSystem has been released. Updates for this version include:

  • Updated copyright details.
  • Update the project settings to more modern defaults.
  • Reworked the classes to optionally compile without MFC. By default the class now use STL classes and idioms but if you define CMMSYSTEM_MFC_EXTENSIONS the class will revert back to the MFC behaviour.
  • Added SAL annotations to all the code.
  • Updated the code to clean compile on VC 2010 – 2015
  • Updated CWaveOut::GetPosition to allow the "cbmmt" parameter to waveOutGetPosition to be specified.
  • Updated CWaveOut::GetDevCaps to allow the "cbwoc" parameter to waveOutGetDevCaps to be specified.
  • Updated CWaveIn::GetPosition to allow the "cbmmt" parameter to waveInGetPosition to be specified.
  • Updated CWaveIn::GetDevCaps to allow the "cbwic" parameter to waveOutGetDevCaps to be specified.
  • Updated CMixer::GetDevCaps to allow the "cbmxcaps" parameter to waveOutGetDevCaps to be specified.
Categories: Web Site Updates