I built crypto++ 8.4 in visual studio 2010 and made some test code. It works fine in \'Win32|Debug\', but in \'Win32|Release\' hash.CalculateDigest throws an exception.