.NETGURU
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification