DCOM componet from .Net Assembly

  • Thread starter Thread starter IMRAN SAROIA
  • Start date Start date
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
 
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.
 
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
 
Back
Top