Archive

Archive for January, 2009

CMMSystem v1.03

January 24, 2009 Comments off

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

  • Updated copyright details
  • The code has now been updated to support VC 2005 or later only.
  • Updated code to compile correctly using _ATL_CSTRING_EXPLICIT_CONSTRUCTORS define
  • Updated code to clean compile on VC 2008
  • Code now compiles cleanly using Code Analysis (/analyze)
Categories: Web Site Updates

CScintillaCtrl, CScintillaView & CScintillaDoc v1.23

January 20, 2009 6 comments

Just to let everyone know that v1.23 of CScintillaCtrl, CScintillaView & CScintillaDoc has been released. Updates for this version include:

  • Updated copyright details
  • Fixed a bug in CScintillaView::SameAsSelected where it did not correctly handle the fact that GetSelectionStart() and GetSelectionEnd() returns the positions in UTF-8 encoded text which would result in failures in the logic for multibyte encoded characters. This made it impossible to replace multibyte character sequences in find / replace operations. Thanks to Alexei Letov for reporting this bug.
Categories: Web Site Updates

XTaskDialog v1.08

January 20, 2009 Comments off

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

  • Updated copyright details.
  • Fixed the text reported in a number of ATLTRACE calls throughout the code
  • Fixed a bug where the dialog would appear with a top horizontal white block, followed by a grey block, then a separator and then a final grey block even when no non command link buttons are displayed on the grey blocks. When this condition now occurs, the whole dialog is now shown in white. This is consistent with how the native TaskDialog API behaves on Vista. Thanks to Jacob Liebeck for reporting this bug.
Categories: Web Site Updates

CCriticalSectionEx, CThreadSafe & CThreadSafeScalar v1.02

January 11, 2009 Comments off

Just to let everyone know that v1.02 of CCriticalSectionEx, CThreadSafe & CThreadSafeScalar has been released. Updates for this version include:

  • Updated copyright details
  • Removed VC 6 style AppWizard comments from the code
  • The code has now been updated to support VC 2005 or later only. It seems that even though ATL’s version of CCriticalSection now supports spin locks the MFC version of CCriticalSection still does not support them, hence still the need for CCriticalSectionEx.
  • Fixed a bug in CCriticalSectionEx::Lock where it handled the wrong SEH type being thrown. The code now only handles the STATUS_NO_MEMORY exception
  • Code now compiles cleanly using Code Analysis (/analyze)
  • Removed the bPreallocateEvent parameter from the CCriticalSectionEx::Init and CCriticalSectionEx’s overridden constructor.
  • Removed the call to Unlock in the CCriticalSectionEx destructor. This is to be consistent with MFC’s CCriticalSection class.
  • CCriticalSectionEx::Lock now throws a CMemoryException* exception. This is to be consistent with MFC’s CCriticalSection class.
  • The m_bLocked member variable of CCriticalSectionEx is now a bool instead of a BOOL. The IsLocked method has also been updated to return a bool.
Categories: Web Site Updates

CFileTreeCtrl v1.54

January 8, 2009 Comments off

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

  • Updated copyright details.
  • Fixed a bug in DisplayPath when it calls InsertFileItem to show the root folder. The CFileTreeCtrlItemInfo pointer passed to InsertFileItem was not being initialized with a valid m_NodeType value. Thanks to Colin Bouckaert for reporting this bug.
  • Fixed a bug in SetSelectedPath if you are trying to select a path when SetRootFolder and SetShowRootedFolder have previously been called. Thanks to Colin Bouckaert for reporting this bug.
Categories: Web Site Updates

CAppSoundsManager v1.03

January 4, 2009 Comments off

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

  • Updated copyright details.
  • Removed VC 6 style AppWizard comments from the code
  • Removed unused CAppSoundsManager destructor
  • The code has now been updated to support VC 2005 or later only
  • Fixed a potential buffer overwrite in CAppSoundsManager::GetCurrentSoundFromRegistry. This bug was spotted with Code Analysis.
  • Code now compiles cleanly using Code Analysis (/analyze)
  • The Register method has been completely rewritten and refactored
  • The Unregister method now uses SHDeleteKey to ensure key values which have subkeys are cleanly removed from the registry. The code in this method has also been refactored.
Categories: Web Site Updates