L
lanfeng
Unregistered / Unconfirmed
GUEST, unregistred user!
type
TSerAndClientPacketUDP=record
Version:array[1..2] of Char;
Command:array[1..2] of Char;
Seq_Num:array[1..2] of Char;
FreeICQ_ID:array[1..4] of Char;
Para:string;
end;
type
TLoginPara=Record
Port:array[1..4] of Char;
NameLength:array[1..2] of Char;
Name:string;
PasswordLength:array[1..2] of Char;
Password:string;
end;
如上述之结构,如何将TLoginPara的值赋给TSerAndClientPacketUDP.Para?
TSerAndClientPacketUDP=record
Version:array[1..2] of Char;
Command:array[1..2] of Char;
Seq_Num:array[1..2] of Char;
FreeICQ_ID:array[1..4] of Char;
Para:string;
end;
type
TLoginPara=Record
Port:array[1..4] of Char;
NameLength:array[1..2] of Char;
Name:string;
PasswordLength:array[1..2] of Char;
Password:string;
end;
如上述之结构,如何将TLoginPara的值赋给TSerAndClientPacketUDP.Para?