=?Utf-8?B?cm9kY2hhcg==?=
10/30/2003 3:56:00 PM
Thank you for posting a reply.
I don't recall reading in the documentation that it is
limited to STAThread--maybe, as a suggestion, it should
be added in.
Secondly, I guess I don't understand the MTA versus STA
usage. My application uses multiple threads and interop
with the user32.dll, but no COM interop. Could you
please explain the MTA usage or point me to a link that
could help me understand better?
Thank you.
Dennis
>-----Original Message-----
>Hi Dennis,
>The FolderBrowserDialog class is a wrapper of the
FolderBrowerDialog in the
>Shell. It is an OLE dialog, which uses a STA thread
apartment model, so if
>you call it from a MTA model you will meet some strange
problems. You
>should keep the STAThread attribute if you need to call
this class.
>Does this answer your question?
>If you still have questions on this issue, please be
free to post it on the
>group.