//调用dll方法
[DllImport("EUCPComm.dll",EntryPoint="SendSMS")] //即时发送
public static extern int SendSMS(string sn,string mn,string ct,string priority); 就是这两句,请问怎么翻译成VB.NET?多谢!
[DllImport("EUCPComm.dll",EntryPoint="SendSMS")] //即时发送
public static extern int SendSMS(string sn,string mn,string ct,string priority); 就是这两句,请问怎么翻译成VB.NET?多谢!
<DllImport("EUCPComm.dll", EntryPoint:="SendSMS")> _
Public Function SendSMS(ByVal sn As String, ByVal mn As String, ByVal ct As String, ByVal priority As String) As Integer
End Function
你看这样可以不。