I had a program written for Win95 which use a Rich edit control to read several RTF files to search and replace text.
It worked well until I recompiled and ran the code on Win2k. In Win2k environment, I found that function FindText always failed to see the search string (even 1-character string, eg. "[" ) when it reaches to a specific point in some files bigger than 100K. It always return -1, even there are many occurances of the searched string existed in the remaining parts.
This specific point is different for different files, but it looks like to be about 50% of the file size
Any idea about this would be very appreciatd