N
nondos
Hello
I have a problem with thread i have a class defntion i've create but every
time i call it from thread it's null any idea why?
code:
dim test as class1
test.a=1
test.b=2
test.c =3
Dim t As Thread
t = New Thread(AddressOf Me.DoIt)
t.Start()
sub doit()
dim a = test.a ' i get null
end sub
Public Class Class1
Public a As Integer
Public b As Integer
Public c As Integer
End Class
I have a problem with thread i have a class defntion i've create but every
time i call it from thread it's null any idea why?
code:
dim test as class1
test.a=1
test.b=2
test.c =3
Dim t As Thread
t = New Thread(AddressOf Me.DoIt)
t.Start()
sub doit()
dim a = test.a ' i get null
end sub
Public Class Class1
Public a As Integer
Public b As Integer
Public c As Integer
End Class