Android Question Pb with V.5 & HttpUtilisServices

ciginfo

Well-Known Member
Licensed User
Longtime User
Iwant to upgrade an old program witth B4A V.5 but when I compile it is not possible it crashes. It was working fine with oldest B4A.
Error messages into attached files.
Where is the problem?
Thank you
 

Attachments

  • http.png
    http.png
    2.7 KB · Views: 240
  • http2.png
    http2.png
    7 KB · Views: 248

ciginfo

Well-Known Member
Licensed User
Longtime User
Into HttpUtilisServices I have :
B4X:
Sub Service_Start
    If HttpUtils.Tasks.IsInitialized = False Then Return
    taskToRequest.Initialize
    finishTasks = 0
    task = 0
    countWorking = 0
    Do While task < HttpUtils.Tasks.Size
        ProcessNextTask
        If countWorking >= maxTasks Then Exit
    Loop
End Sub
Is it not right?
 
Upvote 0
Top