captchaman
Junior Member
- Sep 16, 2010
- 192
- 848
Using the DeCaptcher API for the first time and ran into a problem..
Returns "0" even though I clearly have a balance of $27.828 on the DeCaptcher website. What am I doing wrong?
Thanks,
captchaman
Edit: I see that if the result is a success then it returns 0. So how do I get it to return the balance?
Edit 2: I see that the Double "balance" is now set to the balance.
Code:
Function DecaptcherBalance()
Dim host As String
Dim login As String
Dim passw As String
Dim port As UInteger
Dim balance As Double
host = "api.decaptcher.com"
login = [snip]
passw = [snip]
port = 16549
Return DecaptcherLib.Decaptcher.Balance(host, port, login, passw, balance)
End Function
Thanks,
captchaman
Edit: I see that if the result is a success then it returns 0. So how do I get it to return the balance?
Edit 2: I see that the Double "balance" is now set to the balance.
Last edited: