Hi all,
I'm using threads, and normal way it's work ok .... but sometimes there is strange effect .... For example in my last appliucation I have such error:
why ? Sub readintelhex exists
and many times it's working without any problems. But sometimes I become such ERROR ...
I allways start thread like here:
What can it be ?
I'm using threads, and normal way it's work ok .... but sometimes there is strange effect .... For example in my last appliucation I have such error:
An error has occurred in sub:main_btnfile_click (java line898)
java.lang.RuntimeException: Thread.Start : Sub readintelhex not found!
Continue?
why ? Sub readintelhex exists
B4X:
Sub readIntelHex As Boolean
' some code
End Sub
and many times it's working without any problems. But sometimes I become such ERROR ...
I allways start thread like here:
B4X:
Sub Process_Globals
Dim PT As Thread
End Sub
' in ActivityCreate
PT.Initialise("ProcessThread")
'some button click event
PT.Start( Me, "readIntelHex", Null )
What can it be ?
Last edited: