I'm trying to make another thread in delpi 3.
I call in my main form's oncreate:
SecondThread := TThread.Create(false);
When the user presses a certain button I call:
But the entire application just disappears after the last statement. I think I'm doing something wrong when inheriting TThread's create method, can someone give me a working example of a thread unit?