Home > Web Site Updates > CRelativePaths v1.02

CRelativePaths v1.02

June 28, 2015

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

  • Updated copyright details.
  • Updated the code to clean compile on VC 2008 & later
  • Updated the code to require VC 2005 or later
  • Updated the code to be a header only implementation
  • Reworked the RelativeToAbsolute method to return the string return value as an output parameter instead of a return value.
  • Updated the code to include SAL annotations.
  • Reworked the code to optionally compile without MFC. By default the code now use STL classes and idioms but if you define RELATIVEPATHS_MFC_EXTENSIONS the code will revert back to the MFC behaviour.
  • Removed the static critical section member variable of the CRelativePaths class. Please note that while the RelativeToAbsolute method is executing it is possible that code in some other thread of your app could also be modifying the current working directory. To avoid such race conditions you should serialize that code with the execution of RelativeToAbsolute with something like a critical section.
Advertisements
Categories: Web Site Updates
%d bloggers like this: