ciginfo Well-Known Member Licensed User Longtime User Oct 11, 2015 #1 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 2.7 KB · Views: 385 http2.png 7 KB · Views: 376
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
DonManfred Expert Licensed User Longtime User Oct 11, 2015 #2 What is the signature of your service start sub? It should be Code: Copy Sub Service_Start (StartingIntent As Intent) End Sub Upvote 0
What is the signature of your service start sub? It should be Code: Copy Sub Service_Start (StartingIntent As Intent) End Sub
ciginfo Well-Known Member Licensed User Longtime User Oct 12, 2015 #3 Into HttpUtilisServices I have : Code: Copy 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
Into HttpUtilisServices I have : Code: Copy 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?
DonManfred Expert Licensed User Longtime User Oct 12, 2015 #4 ciginfo said: Is it not right? Click to expand... See my answer above how the sub should be declared. Upvote 0
ciginfo said: Is it not right? Click to expand... See my answer above how the sub should be declared.
ciginfo Well-Known Member Licensed User Longtime User Oct 12, 2015 #5 Ok, now it works fine, but is it new? Upvote 0
DonManfred Expert Licensed User Longtime User Oct 12, 2015 #6 Which b4a version do you use before the v5? Upvote 0
ciginfo Well-Known Member Licensed User Longtime User Oct 12, 2015 #7 DonManfred said: Which b4a version do you use before the v5? Click to expand... V.2.70 I think Upvote 0
DonManfred Expert Licensed User Longtime User Oct 12, 2015 #8 Then, maybe it has changed in the meantime... Upvote 0