Home > Web Site Updates > CSerialPort / CSerialPort2 v1.34

CSerialPort / CSerialPort2 v1.34

December 17, 2017

Just to let everyone know that v1.34 of CSerialPort / CSerialPort2 has been released. Updates for this version include:

  • Replaced NULL throughout the codebase with nullptr. This means that the minimum requirement for the framework is now VC 2010.
  • Updated the code to compile cleanly when _ATL_NO_AUTOMATIC_NAMESPACE is defined.
  • Provided a CSerialPort::CancelIoEx method which encapsulates the CancelIoEx API. Thanks to Victor Derks for this suggestion.
  • Fixed code in CSerialPort::GetDefaultConfig as it does not have a return value. Thanks to Victor Derks for reporting this bug.
  • Fixed code in CSerialPort::SetDefaultConfig as it does not have a return value. Thanks to Victor Derks for reporting this bug.
  • The sal header file is now included before the fallback SAL macros are defined in SerialPort.h. Thanks to Victor Derks for reporting this issue.
  • Reworked the code to now be a header only implementation.
  • Provided a new CSerialPort2 class which is a non exception based version of CSerialPort
  • Provided methods in CSerialPort & CSerialPort2 which encapsulate the GetOverlappedResultEx API.
  • Provided a new Open method in CSerialPort & CSerialPort2 which just opens the port without explicit configuration.
  • Provided a new Open method in CSerialPort & CSerialPort2 which encapsulates the OpenCommPort API.
Advertisements
Categories: Web Site Updates
%d bloggers like this: