System.EnterpriseServices.ServicedComponent (COM+ components in .NET) will run via COM Interop. That means they'll be slightly slower than COM+ components written in C++, and probably about the same speed as a VB COM+ component.
The techniques are the same, but the programming API is different.
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
Thanks Chip...Is the namespace System.EnterpriseServices.ServicedComponent used in the .NET components that you develop? You mentioned that it is running via COM interop. So I assumed this namespace is all unmanaged and using a COM Callable Wrapper and not part of the CLR. Is that correct?
Also is DLLHOST.EXE servicing the .NET components in COM+ or is there something different that services the .NET components?
RCW & CCW are opposite sides of the same coin. CCW is to allow COM components to call your .NET code, and RCW is to allow your .NET assemblies to call COM components.
I wouldn't expect a .NET version of COM+ until Longhorn, or later (MS seems to be scaling back the scope of Longhorn).
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.