W
wzca
Unregistered / Unconfirmed
GUEST, unregistred user!
无聊时做了一个 SMS.DLL
//*******************************//
//** 要导出的函数名列表 **//
//*******************************//
Exports InitDevice, //初始化端口 Function InitDevice(nPort, nBaud, nType: Integer): integer;
SetServiceCenter, //设置短信中心 Function SetServiceCenter(Str: String):Integer;
SendMsg, //发送一条短信 Function SendMsg(szPhone, szText: String; SendMode: Integer):Integer;
GetLastSendSerial, //最后发的序号 Function GetLastSendSerial: Integer;
ReadMsg, //读取短信一条 Function ReadMsg(nID:Integer; var szPhone:String;var szText:String;var szTime: String): Integer;
haveNewMsg; //是否有新短信 Function haveNewMsg: Integer;
呵呵。还可以吧
//*******************************//
//** 要导出的函数名列表 **//
//*******************************//
Exports InitDevice, //初始化端口 Function InitDevice(nPort, nBaud, nType: Integer): integer;
SetServiceCenter, //设置短信中心 Function SetServiceCenter(Str: String):Integer;
SendMsg, //发送一条短信 Function SendMsg(szPhone, szText: String; SendMode: Integer):Integer;
GetLastSendSerial, //最后发的序号 Function GetLastSendSerial: Integer;
ReadMsg, //读取短信一条 Function ReadMsg(nID:Integer; var szPhone:String;var szText:String;var szTime: String): Integer;
haveNewMsg; //是否有新短信 Function haveNewMsg: Integer;
呵呵。还可以吧