DCOM and .NET componet
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolscs' list.


Rama G
Dear all

Here is a scenario for which we would like to have the best solution

Assume that there are DCOM Components on an application server which is used
by a desktop application

We have to create a web application loaded on a web server (IIS) on a
different system which requires services from these DCOM components.

How to access these DCOM (not COM, I know how to use COM componets)
components from .NET component
Reply to this message...
 
    
vcguru
I suppose there are two possible ways to do this. The first would be to replace DCOM with .NET remoting ... specifically a TCP channel and binary formater. You would have to have the .NET runtime on the client and server of course. On the server side you could call the DCOM component through COM Interop - at that point you are not going through DCOM at all. In other words the client would call a .net component via remoting, the component in turn would call your COM component.

Another - more difficult way - would be to separate out the proxy code from the DCOM component and put that on the client. If memory serves, there was a way in Visual C++ to have VC++ create a proxy class while using DCOM. This proxy class could be wrapped by a .net class. In this scenario DCOM could still be used to make the call.
----- Original Message -----
From: Rama G
To: aspngcontrolscs
Sent: Tuesday, June 04, 2002 9:29 PM
Subject: [aspngcontrolscs] DCOM and .NET componet

Dear all

Here is a scenario for which we would like to have the best solution

Assume that there are DCOM Components on an application server which is used by a desktop application

We have to create a web application loaded on a web server (IIS) on a different system which requires services from these DCOM components.

How to access these DCOM (not COM, I know how to use COM componets) components from .NET component

| [aspngcontrolscs] member Click here to reveal e-mail address = YOUR ID | http://www.asplists.com/asplists/aspngcontrolscs.asp = JOIN/QUIT | http://www.asplists.com/search = SEARCH Archives
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com