V
Víctor
Hello,
I'm filling a array of System.Diagnostic.Process by using GetProcesses()
method. Due to a retard on this method, I do the call using a function and
it passing like a delegate to one thread. I've defined the array like
private at class level, but when thread terminates, array is void (I've
checked that array isn't void before thread delegate terminate).
Can somebody help me? I believed that by declaring vars like private in a
class, I could access they even from a thread and these vars could keep
value to use after.
Thanks.Víctor
I'm filling a array of System.Diagnostic.Process by using GetProcesses()
method. Due to a retard on this method, I do the call using a function and
it passing like a delegate to one thread. I've defined the array like
private at class level, but when thread terminates, array is void (I've
checked that array isn't void before thread delegate terminate).
Can somebody help me? I believed that by declaring vars like private in a
class, I could access they even from a thread and these vars could keep
value to use after.
Thanks.Víctor