H
hgptm
Unregistered / Unconfirmed
GUEST, unregistred user!
如何將Pointer 轉成 array of char 型?
代碼如下:
procedure TForm1.Receive(buffer: Pointer
len: Integer;
fromIP: String
fromPort: Word);
var str,ss :string;
tmpBuff: array[0..1023] of char;
begin
//如何將buffer 轉成tmpBuff ?
end;
代碼如下:
procedure TForm1.Receive(buffer: Pointer
len: Integer;
fromIP: String
fromPort: Word);
var str,ss :string;
tmpBuff: array[0..1023] of char;
begin
//如何將buffer 轉成tmpBuff ?
end;