Hi Dmitry,
On 27.07.2020 04:56, Dmitry Kislyuk wrote:
for(; ptr+SysStringLen(str2) <= endptr; ptr++) {if(!memicmp(ptr, str2, len*sizeof(WCHAR))) {ret = ptr-str1+1;break;}}
memicmp does not operate on Unicode characters. I think that msvcrt does not provide what we need here, but you could use FindStringOrdinal instead.
Thanks,
Jacek