Показать сообщение отдельно
Старый 12.05.2008, 19:47   #22
Pitty
Местный
 
Регистрация: 26.04.2006
Адрес: Удомля, гдежещё
Сообщений: 1,986
Вы сказали Спасибо: 676
Поблагодарили 257 раз(а) в 167 сообщениях
По умолчанию

Странно, не понимаю, как количество потоков может повлиять на работу диалогов... Не понимаю.
Цитата:
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.
И где главное слово?
__________________
I never saw a wildthing sorring for itself.
A small bird will drop frozen dead without ever felt sorry for itself.
Pitty вне форума