I have an ASP.NET
application and need to use some COM
components inside it.
I need a wrapper class over Func
or Action
which creates a new STA
thread and run the delegate with that thread or something like this. Do you know such a class or library out of the box or a sample code ?
CodeUsingComComponent.InvokeSTA()