Hi,
I am trying to start a thread from my service like this:
Dim t As Thread
t.Initialise("") ' there are no events in a thread apparently
Dim success As Boolean = t.Start(Null, "MyThread", Null)
Dim error As String = t.Error
and the MySpeakThread method is defined:
Sub MyThread
Log("MyThread")
End Sub
But I get back in t.Error the message "Exception : wrong number of arguments; expected 3, got 0". Where exactly is it expecting three arguments?
Richard
I am trying to start a thread from my service like this:
Dim t As Thread
t.Initialise("") ' there are no events in a thread apparently
Dim success As Boolean = t.Start(Null, "MyThread", Null)
Dim error As String = t.Error
and the MySpeakThread method is defined:
Sub MyThread
Log("MyThread")
End Sub
But I get back in t.Error the message "Exception : wrong number of arguments; expected 3, got 0". Where exactly is it expecting three arguments?
Richard