Some time ago,
I called out
this part of the documentation
regarding
managed and unmanaged threading:
On the first call to unmanaged code,
the runtime calls CoInitializeEx
to initialize the COM apartment as either an MTA or an STA apartment.
You can control the type of apartment created
by setting the
System.Threading.ApartmentState ...
I was helping somebody look up how to enable frobbing for widgets,
and I found one set of instructions on a blog somewhere.
To be honest, this happened long enough ago that I forgot what it
was exactly, but here's something that captures the general spirit:
First, check whether your widget supports frobbing.
To do this, simply run this command
...