Click to See Complete Forum and Search --> : Managed C++, STA and COM+ question


Arthur
February 3rd, 2005, 05:57 AM
Hello,

I have a single threaded library (not COM) that I wrapped in managed C++ and I would like to register the wrapper in COM+. What I really need is a Single Threaded Apartment model for this wrapper.
Is there a way of registering this .NET component in COM+ using STA?
Or should I use [STAThreadAttribute] on each method, or something like that?

Hopefully someone can help,

Arthur