Странно, не понимаю, как количество потоков может повлиять на работу диалогов... Не понимаю.
Цитата:
COM threading models only pertain to applications that use COM interop. Using this attribute in an application that does not use COM interop has no effect.
The COM threading model can be set to single-threaded apartment or multithreaded apartment. The application thread is only initialized for COM interop if the thread actually makes a call to a COM component. If COM interop is not used, then the thread is not initialized.
In the .NET Framework versions 1.0 and 1.1, use this attribute on Main() instead of setting the Thread..::.ApartmentState property on the first line of code, to ensure that the threading model is set before any startup code is executed.
|
И где главное слово?