有函数
GetDeliverSMExEx(smid, destton, org, pri) ,是从网关提取短信的,如果返回多条短信,怎样将
每一条短信都写入到数据库中??

解决方案 »

  1.   

    这是函数的完整定义
    Private Declare Function GetDeliverSMExEx Lib "smeidll.dll" (ByRef smid As Long, ByRef destton As Long, ByRef destnpi As Long, ByRef destaddr As String, ByRef orgton As Long, ByRef orgnpi As Long, ByRef orgaddr As String, ByRef pri As Long, ByRef rp As Long, ByRef udhi As Long, ByRef pid As Long, ByRef dcs As Long, ByRef timestamp As String, ByRef udlen As Long, ByRef userdata As String, ByRef statusreport As Long) As Long
    为了看起来方便,我只写了几个参数
      

  2.   

    to myhot(大头河马) :需要写到数据库里,还要对短信进行处理呢            指点一下好吗,谢谢
      

  3.   

    to san_song() : 你好 ,信息总数是没法知道的;信息之间并没有什么分割符
    这个东西我也是第一次作,所以到这里寻求帮助