DCOM componet from .Net Assembly

I

IMRAN SAROIA

Dear friends,

I have implemented COM componet from .Net Assembly
to be used by my old apps by creating a class and compiling it as an
assembly and also regestring it.

How can we implement the same component as
DCOM?

I have tried "DCOMCNFG.EXE" to setup DCOM.
But My Component does not show up in list.

Please advise

Imran Saroia
 
K

Klaus H. Probst

DCOM only supports DCOM servers. What you did was a simple COM server. VB6
has the ability to create those, but I'm not sure if .NET does.

If you want to access the component remotely you might want to look into
..NET's remoting technology; otherwise you can also use COM+ proxies.
 
V

Valery Pryamikov

Hi,
The easiest way of doing it is to develop class inherited from
System.EnterpriseServices.ServicedComponent, and register it with server
aplication [assembly:ApplicationActivation(ActivationOption.Server)].

-Valery.

http://www.harper.no/valery
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top