Archive

Archive for August, 2013

CToasterWnd v1.17

August 25, 2013 Comments off

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

  • Updated copyright details
  • Code now uses CDC::GradientFill instead of using function pointers directly.
  • Code now uses CWnd::SetLayeredWindowAttributes instead of using function pointer directly.
  • Code no longer uses LoadLibrary without an absolute path when loading UxTheme. This avoids DLL planting security issues.
  • Demo app now includes a check box for enabling / disabling the background image.
  • The class now includes support for a new "m_bOnlyCloseOnUser" boolean setting. This specifies whether the notification window can only be closed based on user action i.e. not auto close because of an animation.
  • Fixed a bug where window would not be drawn correctly when using the HTMLayout control due to the OnPaint method being incorrect.
  • The default value for "m_AnimationStyle" is set based on the value returned from SystemParametersInfo(SPI_GETANIMATION.
Advertisements
Categories: Web Site Updates

BITSWrappers v1.02

August 10, 2013 Comments off

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

  • Added support for the IBitsTokenOptions interface
Categories: Web Site Updates

BITSWrappers v1.01

August 6, 2013 Comments off

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

  • Provided a CJob::GetOwner wrapper method
  • Provided a CJob::GetProxySettings wrapper method
Categories: Web Site Updates

BITSWrappers v1.0

August 6, 2013 Comments off

Just to let everyone know that v1.0 of BITSWrappers has been released. This is a set of C++ classes to provide a complete encapsulation of the BITS (Background Intelligent Transfer Service) API for Windows.

The classes provided are: BITS::CManager, BITS::CJob, BITS::CJob2, BITS::CJob3, BITS::CJob4, BITS::CJob5, BITS::CFile, BITS::CFile2, BITS::CFile3, BITS::CFile4, CJobHttpOptions, BITS::CCallback, BITS::CError, BITS::String, BITS::FilesArray, BITS::JobsArray, BITS::FileRangeArray & BITS::ByteArray.

CManager is the class wrapper for IBackgroundCopyManager.

CJob is the class wrapper for IBackgroundCopyJob.

CJob2 is the class wrapper for IBackgroundCopyJob2.

CJob3 is the class wrapper for IBackgroundCopyJob3.

CJob4 is the class wrapper for IBackgroundCopyJob4.

CJob5 is the class wrapper for IBackgroundCopyJob5.

CFile is the class wrapper for IBackgroundCopyFile.

CFile2 is the class wrapper for IBackgroundCopyFile2.

CFile3 is the class wrapper for IBackgroundCopyFile3.

CFile4 is the class wrapper for IBackgroundCopyFile4.

CJobHttpOptions is the class wrapper for IBackgroundCopyJobOptions.

CCallback is the class wrapper for using IBackgroundCopyCallback. To use this class just call CJob::SetNotifyInterface. For an example see the code in test.cpp

CError is the class wrapper for IBackgroundCopyError.

String derives from either CStringW if the classes are using MFC or std::wstring if using STL.

FilesArray derives from either CArray<CFile..> if the classes are using MFC or std::vector<CFile> if using STL. This collection class is used in the CJob::EnumFiles method.

JobsArray derives from either CArray<CJob..> if the classes are using MFC or std::vector<CJob> if using STL. This collection class is used in the CManager::EnumJobs method.

FileRangeArray derives from either CArray<BG_FILE_RANGE..> if the classes are using MFC or std::vector<BG_FILE_RANGE> if using STL. This collection class is used in the CFile2::GetFileRanges method.

ByteArray derives from either CByteArray if the classes are using MFC or std::vector<BYTE> if using STL. This collection class is used in the CJob2::GetReplyData and CJobHttpOptions::GetClientCertificate methods.

Categories: Web Site Updates

AA+ v1.55

August 4, 2013 2 comments

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

  • Updated copyright details
  • Updated the observed DeltaT values from http://maia.usno.navy.mil/ser7/deltat.data to 1st April 2013
  • Updated the predicted DeltaT values from http://maia.usno.navy.mil/ser7/deltat.preds to 1st January 2023
  • Fixed a transcription error in the third coefficient used to calculate the L0 term for the ecliptic longitude of Mercury. Thanks to Isaac Clark for reporting this issue.
  • Fixed a transcription error in the fifth coefficient used to calculate the L2 term for the ecliptic longitude of Mercury. Thanks to Isaac Clark for reporting this issue.
  • Fixed a transcription error in the second coefficient used to calculate the L4 term for the ecliptic longitude of Mercury. Thanks to Isaac Clark for reporting this issue.
  • Fixed a transcription error in the ninth coefficient used to calculate the B0 term for the ecliptic latitude of Mercury. Thanks to Isaac Clark for reporting this issue.
  • Fixed a transcription error in the third coefficient used to calculate the B0 term for the ecliptic latitude of Venus. Thanks to Isaac Clark for reporting this issue. Spot tests indicate that this change only affected the ecliptic latitude in the sixth decimal place.
  • Fixed a transcription error in the twenty first coefficient used to calculate the L0 term for the ecliptic longitude of Earth. Thanks to Isaac Clark for reporting this issue.
  • Fixed a transcription error in the sixteenth coefficient used to calculate the L1 term for the ecliptic longitude of Earth. Thanks to Isaac Clark for reporting this issue.
  • Fixed a transcription error in the second coefficient used to calculate the B2 term for the ecliptic latitude of Mars. Thanks to Isaac Clark for reporting this issue.
  • Fixed a transcription error in the third coefficient used to calculate the B2 term for the ecliptic latitude of Mars. Thanks to Isaac Clark for reporting this issue.  
  • Fixed a transcription error in the thirty ninth coefficient used to calculate the L0 term for the ecliptic longitude of Jupiter. Thanks to Isaac Clark for reporting this issue.
  • Fixed a transcription error in the sixteenth coefficient used to calculate the R1 term for the ecliptic radius vector of Jupiter. Thanks to Isaac Clark for reporting this issue.
  • Fixed a transcription error in the twenty ninth coefficient used to calculate the B2 term for the ecliptic latitude of Saturn. Thanks to Isaac Clark for reporting this issue. Spot tests indicate that this change only affected the ecliptic latitude in the twelfth decimal place.
  • Fixed a transcription error in the second coefficient used to calculate the B0 term for the ecliptic latitude of Neptune. Thanks to Isaac Clark for reporting this issue. Spot tests indicate that this change only affected the ecliptic latitude in the sixth decimal place.
Categories: Web Site Updates

EnumSerialPorts v1.26

August 3, 2013 Comments off

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

  • Fixed a bug where the return value from "SetupDiOpenDevRegKey" in UsingSetupAPI1 and UsingSetupAPI2 were not being checked correctly. Thanks to Ilya Tsybulsky for reporting this bug.
  • Tested code to make sure everything compiles cleanly when CENUMERATESERIAL_USE_STL is not defined and MFC is not included. Please note that if you do not use STL or MFC then you MUST use ATL.
  • Updated code to make sure everything compiles cleanly when CENUMERATESERIAL_USE_STL is defined and MFC and ATL are not included. This means that this particular scenario should now work on Express SKU’s of Visual Studio.
  • Reworked the CEnumerateSerial::UsingWMI method to not require ATL. This means that this method should now work on Express SKU’s of Visual Studio.
Categories: Web Site Updates