CnDockSupportProc.pas重写下面两个函数
function Cn_StreamDataToString(Stream: TStream): string;
var b: Byte;
begin
Result := '';
Stream.Position := 0;
while Stream.Position < Stream.Size do
begin
Stream.Read(b, Sizeof(b));
Result := Result + IntToHex(b, 2);
end;
end;
procedure Cn_StringToStreamData(Stream: TStream; Data: string);
var
i: Integer;
b: Byte;
begin
i := 1;
while i < Length(Data) do
begin
b := StrToInt('$' + Copy(Data, i, 2));
Stream.Write(b, Sizeof(b));
Inc(i, 2);
end;
end;