Y
yujiu2000
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TYJ2000.phoneSocketRead(Sender: TObject;
Socket: TCustomWinSocket);
var
phoneno: String;
chan: Integer;
begin
phoneno := Socket.ReceiveText;
if phoneno[1] in ['1','2'] then
// set event
begin
chan := Ord(phoneno[1]) - ord('0');
phoneno := Copy(phoneno, 3, Length(phoneno)-2);
//我想在这里触发那事件!
// procedure OnCallIn(chan: Smallint
const phoneno: WideString);
end;
end;
不知怎样才能触发
procedure OnCallIn(chan: Smallint
const phoneno: WideString)
事件!
Socket: TCustomWinSocket);
var
phoneno: String;
chan: Integer;
begin
phoneno := Socket.ReceiveText;
if phoneno[1] in ['1','2'] then
// set event
begin
chan := Ord(phoneno[1]) - ord('0');
phoneno := Copy(phoneno, 3, Length(phoneno)-2);
//我想在这里触发那事件!
// procedure OnCallIn(chan: Smallint
const phoneno: WideString);
end;
end;
不知怎样才能触发
procedure OnCallIn(chan: Smallint
const phoneno: WideString)
事件!