it seems http://docwiki.embarcadero.com/VCL/XE2/en/Classes.TStringStream.WriteString
in delphi the WriteString() function accepts a strongly typed string. This might be a compatibility problem in delphi mode since in fpc, writestring accepts a untyped pointer if i am not mistaken. Different behaviors, right? A strongly typed string parameter wouldn't send in the length of the string AFAIK, it would just send the string contents. so if someone was porting code from delphi, wouldn't this produce different behavior in fpc? _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal