Неre is a patch aganst the latest public sources на всякий случай.
Typo in ExtHandler.cpp
Yes we do need winsock2. Windows.h only pulls winsock.h, another beast from early 1990-ties, which does not provide API used in win32file. This old winsock also causes multiple redefinition errors when included before winsock2. MSDN recommends to just '#include <winsock2.h>' alone as it has been done in this module initially, but if '#include <windows.h>' is required MSDN suggests to define WIN32_LEAN_AND_MEAN to avoid collisions with the old winsock. We then have to explicitly include some not so...
fix v2: include windows before winsock2, tricky
fix v2: include windows before winsock2, tricky
fix v1: define WIN32 macro
fix v1: define WIN32 macro
Here is a test that reveals the error
ERROR_BAD_LENGTH in winfile.GetFileInformationByHandleEx on x86 - a struct alignment issue.
2.10 regression in Each.parseImpl
NameError in SkipTo.parseImpl
Read out of bounds in FM.exe when archive is open using parser