Home > Web Site Updates > W3Mfc v2.19 / CWSocket v1.47

W3Mfc v2.19 / CWSocket v1.47

July 21, 2020

Just to let everyone know that v2.19 of W3Mfc & v1.47 of CWSocket has been released. Updates for this version include:

  • Fixed an issue in CWSocket::ThrowWSocketException where exceptions were thrown as const CWSocketException* when CWSOCKET_MFC_EXTENSIONS was defined. This causes an unhandled exception bug in W3MFC when compiled with VS 2019 and CWSOCKET_MFC_EXTENSIONS was defined, where catch(CWSocketException*) call sites throughout the codebase would not handle an exception thrown of this type. It looks like the logic used to setup exception handling has been changed in VS 2019 quite a bit (see https://devblogs.microsoft.com/cppblog/making-cpp-exception-handling-smaller-x64/ for the details). The code in CWSocket::ThrowWSocketException has been updated to now throw a CWSocketException* exception when CWSOCKET_MFC_EXTENSIONS was defined.
Categories: Web Site Updates
%d bloggers like this: