G
Guest
Hi,
When you create a new AppDomain, objects you created in there using say
AppDomain.CreateInstanctAndUnwrap() run in the same thread as the caller is
that correct?
If so, how could I create an AppDomain having its distinct thread? In
particularly, I would like to create several AppDomains each with its own STA
so that I can have UI object living in them and they are running concurrently.
Kind of like transplanting an unmanaged architecture involving several ole
automation servers (executables with their independent threads) to managed
world using one executables but they are mapped to AppDomain partitioning.
But each AppDomain must have its own thread with its own message pump so that
WinForm objects can live there.
Thanks.
Leon
When you create a new AppDomain, objects you created in there using say
AppDomain.CreateInstanctAndUnwrap() run in the same thread as the caller is
that correct?
If so, how could I create an AppDomain having its distinct thread? In
particularly, I would like to create several AppDomains each with its own STA
so that I can have UI object living in them and they are running concurrently.
Kind of like transplanting an unmanaged architecture involving several ole
automation servers (executables with their independent threads) to managed
world using one executables but they are mapped to AppDomain partitioning.
But each AppDomain must have its own thread with its own message pump so that
WinForm objects can live there.
Thanks.
Leon