On Friday 04 July 2008 10:15:57 Alexander Morozov wrote: + if ((lpwhr->hdr.dwFlags & INTERNET_FLAG_NO_CACHE_WRITE) && + CSTR_EQUAL == CompareStringW(LOCALE_SYSTEM_DEFAULT, 0, + lpwhr->lpszVerb, strlenW(lpwhr->lpszVerb), szPOST, strlenW(szPOST)))
No need to use CompareStringW here, these are fixed strings, defined by the protocol. -Hans