close
C#
先 using System.Runtime.InteropServices;
然後
[DllImport("ABC.dll", EntryPoint = "Send")]
public static extern boolABCSend(string );
=====================================
VB.NET
先 Imports System.Runtime.InteropServices
然後
<DllImport("ABC.dll", EntryPoint = "Send")> public Shared Function ABCSend(Byval Msg As String) as bool
End Function
全站熱搜
留言列表