N
Nicholas Paldino [.NET/C# MVP]
Leandro,
Assuming you have a managed representation of the interface that the
COM+ component uses, you can make a call to the static GetTypeFromCLSID or
GetTypeFromProgId methods on the Type class. These types allow you to
specify the server on which to get the types for (in case it is a different
machine than the current one).
Once you have the type, you can pass that to the static CreateInstance
method on the Activator class to create an instance. You will have to cast
it to the appropriate type, or the interface that the COM+ object exports in
order to use it.
Hope this helps.
Assuming you have a managed representation of the interface that the
COM+ component uses, you can make a call to the static GetTypeFromCLSID or
GetTypeFromProgId methods on the Type class. These types allow you to
specify the server on which to get the types for (in case it is a different
machine than the current one).
Once you have the type, you can pass that to the static CreateInstance
method on the Activator class to create an instance. You will have to cast
it to the appropriate type, or the interface that the COM+ object exports in
order to use it.
Hope this helps.