2019-04-27 01:16
浏览 100


I can sample a VBScript to take advantage of functions from .dll files.

And I can use the .dll file also in PHP with the COM class, but there is one function that I cannot complete, which must send parameters that seem like arrays.

Please help to complete this function. This FalcoNetworkLib.dll is a library to send & get data from hardware. I've tried with create param as array but still get an error.

This is the VBScript sample :

Option Explicit
Dim cmdobj As New FalcoNetworkLib.FalcoCommandClient

Private Sub AddCard()
    Dim msg As String  
    Dim nResult As Integer
    Dim param As FalcoNetworkLib.CardDbStruct
    Dim param.CardNo = 1
        param.PinNo = 0
        param.AccessTimeZone = 1
        param.LiftAccessLvl = 1

   nResult = CommandObj.FalcoQuickSetCardDb("", "2003", 0, param, msg)

   If nResult <> 0 Then
       MsgBox msg
   End If
End Sub
  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 收藏
  • 邀请回答

相关推荐 更多相似问题