Questions tagged [dcom]

Distributed COM (DCOM) is a protocol that enables software components to communicate with one another over a network.

DCOM is the distributed extension of COM. It specifies the additional infrastructure that is required to further extend COM to networked environments and enable software components to communicate with one another over a network. DCOM is designed for use across multiple network transports, including Internet protocols such as HTTP. It is based on the OSF's DCE RPC specification and implemented as a layer over Microsoft RPC.

403 questions
0
votes
0 answers

Calling C# COM Component From Unmanaged C++ Remotely?

I wrote a C# .NET COM component which is then called from a C# front end. However, it also needs to work from an old Visual C++ 6 client app too. This works fine when it is all installed on the same machine but I need to call it remotely. This fails…
Jonnster
  • 3,094
  • 5
  • 33
  • 45
0
votes
3 answers

Calling remote COM component from MFC client?

I have a COM component that was originally written in Visual Studio 6. It is in a windows service which I have running on one of my development machines. I have written a quick MFC test app to call it and this works fine when run from this machine,…
Jonnster
  • 3,094
  • 5
  • 33
  • 45
0
votes
1 answer

Instantiating a DCOM object sometimes hangs when scaling an Azure role

In my Azure role startup code I instantiate a DCOM object to ensure that it can be instantiated and then immediately release it since I don't really need it at that moment. I do that in a separate thread that actually news the corresponding C# RCW…
sharptooth
  • 167,383
  • 100
  • 513
  • 979
0
votes
1 answer

Wrong 'Local Path' in DCOM Config entry

I have a component in DCOM Config whose 'Local Path' (on the General tab of the Properties page for that component in dcomcnfg) is pointing to the wrong place. However when I go to that directory and unregister the component using "componentname.exe…
Phillip Wells
  • 7,402
  • 9
  • 43
  • 41
-1
votes
1 answer

FileSystemObject lost in DCOMCNFG

I want to use FileSystemObject, but it lost in DCOMCNFG, I have register it through the command "regsvr32 scrrun.dll". Any other ways to get it in DCOMCNFG ?
-1
votes
1 answer

MS PowerPoint Presentations.Open method fails

I am trying to find out why the object of Microsoft PowerPoint application doesn't want to open pptx file. This is what I have (C#): using PowerPoint = Microsoft.Office.Interop.PowerPoint; using MSBool =…
Felix L
  • 3
  • 2
-1
votes
1 answer

Reflection instead .NET-to-.NET scenario

I created Person.dll and register it(regsvcs.exe) in Command Promt for Visual Studio 2019. As a result of registration, I got Person.tlb. I tried to add Person.tlb in console project as reference COM component but I got warning MSB3290. warning…
Donax
  • 13
  • 3
-1
votes
1 answer

C# Call custom COM+ error: 80070005 Access is denied

System.UnauthorizedAccessException: 'Retrieving the COM class factory for component with CLSID failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).' The code is calling a web method…
Mandi
  • 97
  • 8
-1
votes
1 answer

Run a COM Service as System

How do I run a COM service as System and allow any client from any security context to connect to it? I have an .exe that hosts my class object by calling CoRegisterClassObject. When I run the .exe as an Administrator, the same Administrator account…
Reverser
  • 39
  • 3
-1
votes
1 answer

How can I do following thing through any code,script

From the Start menu, click Run and type Dcomcnfg.exe. In Component Services, click Console root, expand Component Services, expand Computers, and then click My Computer. On the Action menu, click Properties. In the My Computer Properties dialog box,…
-1
votes
1 answer

COM interface that lists all open ports in a machine

And provides the binding to processes. I know netstat does that, but I am interesting in COM so I can access this information remotely using DCOM, and set permissions effectively. Ideally, I would use WMI. I inspected (almost?) all the tables and…
user2679290
  • 144
  • 9
-1
votes
1 answer

SAP DCOM Connector on Windows Server 2008

Does anybody know, if it is possible to use the "old" SAP DCOM Connector on a Windows Server 2008 ? I want to migrate a old ASP Web Solution with DCOM Connection to SAP from Windows 2000 Server to Windows 2008 Server. When I try to install the DCOM…
Michael
  • 37
  • 2
-3
votes
1 answer

what are the different technologies available for communication among software components distributed across networked computers?

I want to know what are the different technologies available for communication among software components distributed across networked computers? And which is the recent and popular one.
Navin
  • 23
  • 1
1 2 3
26
27