A
Alhambra Eidos Kiquenet
Hi misters,
I have introduced a component to my solution that is throwing an exception
about needing to be run in single threaded apartment mode.
This component is created in an async call by a BackgroundWorker object,
which seems to be on a MTA thread. Is there a way for me to get the
BackgroundWorker thread to run in STA mode, or do I have to remove the
BackgroundWorker and hand spin my own async call?
The component is a COM.
Greetings, regards
thanks in advance
I have introduced a component to my solution that is throwing an exception
about needing to be run in single threaded apartment mode.
This component is created in an async call by a BackgroundWorker object,
which seems to be on a MTA thread. Is there a way for me to get the
BackgroundWorker thread to run in STA mode, or do I have to remove the
BackgroundWorker and hand spin my own async call?
The component is a COM.
Greetings, regards
thanks in advance