I have test several times about Instring function, found a bug, I use the following sample to test:

buffer1 db "ini;txt;",0
buffer2 db "tst;",0


invoke Instring, 1, offset buffer1, offset buffer2

it should be return 0( not found buffer2 in buffer1), but the returened eax is 0Ah, I wanna know where it produced the bug?

Posted on 2002-06-27 09:47:37 by dREAMtHEATER
you can find the source for Instring in masm32\m32lib

I'd found a bug some time ago can't remember what it was now.
To debug it instead of using the prebuilt library you can use the source directly in your program that way you can do source code debugging on the instring fucntion.

I've since modified it so that it now inclusive/exclusive search and case sensitive/insensitive search. I've been meaning to post it here I'll do so today...
Posted on 2002-06-28 06:29:02 by MArtial_Code

I hope that I can see ur modified Instring code as early as possibly .

Posted on 2002-06-28 09:35:35 by dREAMtHEATER