Hi Everybody.
I have a little trouble about third party DLL.
We need to process credit card payments, the bank IT area send me a dll file and some VB6 sample code ; when i tried to register with regsvr32 i have next error: C:\windows\system32\BankPinPinPad.dll was loaded, but the DllRegisterServer entry point was not found; also i try with regasm File.dll.... and the file is not a .net valid file.
The code in a module in VB look like this:
Public Declare Function VB_prepareDevice Lib "BankPinPad.dll" _
(ByVal pinpadType As String, ByRef inputMap As Variant, ByRef excep As Variant) As Integer
Public Declare Function VB_releaseDevice Lib "BankPinPad.dll" _
(ByRef excep As Variant) As Integer
{more declaration code}
to use :
'Init pinpad
cr% = VB_prepareDevice("NURIT293", config, Err)
If cr <> 0 Then
processError
Exit Sub
End If
{more code...}
The sample on VB works fine, in nav, i keep trying
Some idea to use the .dll?
Thanks in advance
0
Comments
The return value is zero for success.
For more informations, connect the developer of this dll