On 08 May 2010, at 23:09, Felipe Monteiro de Carvalho wrote: > FPC automatically does name mangling in your procedures, I guess your > procedure really looks currently like: > > function _strlen(s: pansichar): integer; cdecl name 'MYUNIT$_STRLEN'; No, it does not. cdecl always results in C name mangling. Jonas