L
liboy.com
Unregistered / Unconfirmed
GUEST, unregistred user!
下面是声明DLL的VB代码
Public Declare Function Monitor_Position Lib "YG.dll" (ByRef v_byFrame As Byte, ByVal v_strdestmobile As String, ByVal v_strSourceMobile As String) As Long
调用该函数的VB代码
Dim a(1000) As Byte '定义byte数组
iL = Monitor_Position( a(0), "参数1", "参数2") '调用DLL函数
sStr$ = StrConv(a, vbUnicode) '将a数组转成字符串
请问怎样用 delphi 来实现上面的声明DLL,以及调用?
函数的参数是一个 byte 数组, 另外如何将 byte数组转成字符串?