implementation
uses UShare, UMsgReceive, UTemplate, DM, UnitMain, UMsgView, UWait; //动态库引入
function OpenComm(pPort
char;nRaudRate:Integer;nParity:Integer;nByteSize:Integer;nStopSize:Integer):bool ;stdcall;
external 'data/smspdu.dll';
function SetSendModule(mdl:integer):bool ;stdcall;
external 'data/smspdu.dll';
function GetCenterNumber(CenterNumber
char):bool ;stdcall;
external 'data/smspdu.dll';
function SetCenterNumber(CenterNumber
Char):bool ;stdcall;
external 'data/smspdu.dll';
function SendShortMessage(send_number
Char;send_msg
Char;sm_param_temp:SM_PARAM):integer ;stdcall;
external 'data/smspdu.dll';
function CheckNo():bool ;stdcall;
external 'data/smspdu.dll';
function CloseComm():bool ;stdcall;
external 'data/smspdu.dll';
function NarrowToBig(inputString:string):string ;
STDCALL EXTERNAL 'bchq1.dll';