E
Edwin
Hello,
I would like the Main()-thread to end (because it runs out of the
code), but all started threads should continue. Is this possible.
Eg.
[STAThread]
static void Main(string[] args)
{
System.Threading.Thread threadGUI = new
System.Threading.Thread(new
System.Threading.ThreadStart(Recdump.StartGUI));
threadGUI.Start();
}
So, after I run the program, the thread running Main() should end, but
the thread running Recdump.StartGUI should continue. Is that possible?
Actually, what I really want is an application which initially can
write to the Console, but after a while, when a form has been started,
returns to the command prompt.
I hope somebody can help...
Kind regards,
Edwin.
I would like the Main()-thread to end (because it runs out of the
code), but all started threads should continue. Is this possible.
Eg.
[STAThread]
static void Main(string[] args)
{
System.Threading.Thread threadGUI = new
System.Threading.Thread(new
System.Threading.ThreadStart(Recdump.StartGUI));
threadGUI.Start();
}
So, after I run the program, the thread running Main() should end, but
the thread running Recdump.StartGUI should continue. Is that possible?
Actually, what I really want is an application which initially can
write to the Console, but after a while, when a form has been started,
returns to the command prompt.
I hope somebody can help...
Kind regards,
Edwin.