7,763
社区成员
发帖
与我相关
我的任务
分享
Public Declare Function CommitCurrentPayCashCardList2 _
Lib "CRMInterface.dll" _
(ByVal iBillID As Long, _
ByVal sCashier As String, _
ByRef iTransID As Long) As Long
dim iXPH as long
dim emplID as string
dim iTransID as long
iXPH = 1
emplID = "1"
'ByRef 参数会自动取地址,不需要 VarPtr 了'
If CommitCurrentPayCashCardList2(iXPH, emplID, iTransID) = 1 Then
MsgBox "success"
Else
MsgBox "err"
End If