//基于 RTX 3.61 应用.
procedure Tmain_fm.SendMsgRtx(ReceieNo, Content: string); {Rtx消息传送}
var
RTXObj: variant;
RTXParams: variant;
RETCode: variant;
begin
RTXObj := CreateOleObject('RTXServer.RTXObj');
RTXParams := CreateOleObject('RTXServer.Collection');
RTXObj.name := 'SYSTOOLS';
RTXParams.Add('SENDER', 'system');
RTXParams.Add('SDKPASSWORD', 'system');
RTXParams.Add('RECVUSERS', ReceieNo);
RTXParams.Add('IMMSG', Content);
try
RETCode := RTXObj.Call2(8194, RTXParams);
except
//Application.MessageBox('错误', 'tips', MB_OK);
end;
RTXObj := UnAssigned;
RTXParams := UnAssigned;
end;