[fpc-devel] Re: StrPos giving a access violation

Graeme Geldenhuys graeme at mastermaths.co.za
Thu Dec 8 13:46:01 CET 2005


I put a breakpoint inside StrPos and stepped through the code.  It 
raised a "External SIGSERV" error on the second line:

I don't understand assembler so couldn't debug into StrScan.

   - Graeme -

Graeme Geldenhuys wrote:

>   lFrom   := '';
>   lSearch := '';
>   lResult := StrPos(Pointer(lFrom), Pointer(lSearch));
>   AssertEquals('Failing on 3', '', string(lResult));

More information about the fpc-devel mailing list