switched to PChar as suggested
No problem with that but, it should work with "string" too.
Few more bits: I endeed up calling the library functions from a exe compiled with Kylix 32 bit and as said by others, it didn't work using string.
In fact such Kylix installation was configured to use by string as an alias for ShortString, therefore what in lazarus is a string (AnsiString) was no way compatible. Converting back and forth on two sides to PChar was the solution, as stated.
If both system were configured to use AnsiStrings, probably I would have seen it working, but only by coincidence if managed structured happened to be the same.