Vladimir Pankratov wrote:
GetLastErrorText(strErrorText, 260);
GetLastErrorText(wstrErrorText, sizeof(wstrErrorText)/sizeof(WCHAR));
The same as of try2. You changed argument type in patch 1/12 but function GetLastErrorText will change later in 12/12. So patches in series aren't not independent now cause after applying first you'll get broken GetLastErrorText call till you applied the last (12th). Changing call and a function should be placed in a single path.