Click here to Skip to main content
15,891,567 members
Everything / DCOM

DCOM

DCOM

Great Reads

by Bruno van Dooren
Mitigate problems caused by DCOM hardening, by reverse engineering a non-compliant .NET app
by Bruno van Dooren
An overview of the different ways to mitigate the impact of DCOM hardening
by junyaoxu
Step by step implementation of DCOM real time stock quote server with Yahoo financial API
by Bruno van Dooren
How to read data from OPC DA servers into a PowerShell script

Latest Articles

by Bruno van Dooren
Mitigate problems caused by DCOM hardening, by reverse engineering a non-compliant .NET app
by Bruno van Dooren
An overview of the different ways to mitigate the impact of DCOM hardening
by junyaoxu
Step by step implementation of DCOM real time stock quote server with Yahoo financial API
by Bruno van Dooren
How to read data from OPC DA servers into a PowerShell script

All Articles

Sort by Score

DCOM 

15 Nov 2023 by Bruno van Dooren
Mitigate problems caused by DCOM hardening, by reverse engineering a non-compliant .NET app
19 Oct 2023 by Bruno van Dooren
An overview of the different ways to mitigate the impact of DCOM hardening
4 Oct 2022 by junyaoxu
Step by step implementation of DCOM real time stock quote server with Yahoo financial API
27 Mar 2018 by Richard Deeming
Quote: microsoft office can not be installed on this server You cannot automate Microsoft Office unless it is installed. You also cannot use Office Interop from a non-interactive application, including SQL Server and ASP.NET: Considerations for server-side Automation of Office[^] Microsoft...
29 Mar 2019 by Dave Kreskowiak
You can NOT use Outlook Interop in a web application. None of the Office applications are supported in a non-user environment, i.e.: services, like IIS. You would have to interact directly with whatever mail server your client is using, like Exchange. How you do that depends entirely on the...
13 Apr 2014 by PrafullaVedante
Hi,I am trying to register my COM exe. its not getting registered.On debugging the code. What i observed is call to "AtlCreateRegistrar" function is failing. This function is a member of CAtlModule class. It can be found in atlbase.hAny idea why it is happening.Thank...
29 May 2014 by cotsjdixon
I am once again revisiting very old code since we are not allowed to update it - just make it work with newer technology (I know this does not make good coding sense, but it is what I have to work with).Background - We used to use Installshield 6 to install an app with DCOM code. Over the...
25 Jun 2015 by Brian Ch
I have written an OPC server that runs as a process that works correctly when invoked locally using COM. Based on my understanding, it is necessary to invoke my OPC server as a process at least without major rework since I am using a C++ process to load my C# OPC assembly. When invoked...
6 Nov 2015 by KarstenK
If you only what to set a callback function it is fairly easy, as described in my article.A more complex scenario with classes is in the article How to Marshal a C++ Class displayed.
23 Jan 2016 by _SurajP
Hello,I have 2 IP address on my NIC. The second one added as an Alternate.Say a.b.c.10 and a.b.c.12. I need all the connections to originate from a.b.c.12. For DCOM connections originating from this machine, is it possible to control the "originator" IP? For specific...
23 Jan 2016 by Member 12001186
With Component Services (dcomcnfg.exe) you can set the endpoints and protocols available for use by the clients of the DCOM server, the lanch and activation permission and the context.Hope this helps.Harold
15 Mar 2016 by _SurajP
Hello, I have an OPC client (DCOM) running on a Server 2016 machine which has 2 IP addresses on the same NIC i.e., multihomed NIC using the advanced configuration properties of the Adapter.Both IPs belong to the same Subnet.The OPC Server has only one IP address.Occassionally, I face...
31 Jul 2016 by Member 12662747
I have a servo motor, attactched to the driver, ready to be controlled by 12 dc input signals to the driver the two signals for the CW and CCW directions can by obtained through a relay contacts,,,,,,,,,, however the control signal is a pwm , how can i use this PWM to control the servo motor...
9 Feb 2017 by Anderson Rissardi
I have a little experience in add-ins with c#, but I believe that you will understand the concept.I believe that you should use Microsoft.Office.Interop classes with COM to create it.To find the current selected Microsoft.Office.Interop.Outlook.MailItem you can use this: ...
4 Jun 2018 by achimschoen
I've implemented a system service running as system user which is spawning a child process running as another user with the environment variables of this user. Launching a COM object as local server by CoCreateInstance inherits the environment variables from the system user, but not from the...
3 Jan 2020 by Viken Patel
I am trying to create DCOM dll in c# which i want to utilize or call function from other computer using c# and vb6 application Same i want to create application using VB6 and want to call in .net application from other as well as same computer. What I have tried: I want to create sample...
31 Dec 2019 by Richard MacCutchan
See [MS-DCOM]: Distributed Component Object Model (DCOM) Remote Protocol | Microsoft Docs[^].
5 Jul 2022 by Bruno van Dooren
How to read data from OPC DA servers into a PowerShell script
5 Nov 2015 by shankha2010
I want to callback C# method from "C++ COM dll", Here is the strategy I took.Step 1:In C++ Server.dll in idl I declared 2 class Class1 and Class2 as below. [ object, uuid(54120D45-09DE-4e61-AA30-858CE4C472B5), oleautomation, helpstring("Class1...
4 Jan 2020 by Christian Graus
It's 2019. Why would you use DCOM?
5 Jul 2015 by Member 11405963
Hi All,Now i'm investigate COM( Component Object Model) and DCOM( Distribute COM) in Visual Basic 6. But I do not know where to start ?I searched on the internet but most of the visual basic.net. So if anyone can help me directions that I should learn from and find the relevant documents...
9 Feb 2017 by Vijay533
I created a project for addins using following link.https://msdn.microsoft.com/en-us/library/office/ee941475%28v=office.14%29.aspx?f=255&MSPPError=-2147217396#BuildingNativeAddinforOL2010_CreatingaNativeAddinMy requirement is to get the emails selected by user on click of a button from...
22 Nov 2020 by oronsultan
Hey guys, I tried to summarize this as much as possible, I am sorry in advance for the length of the text. I need your help in solving a problem we've been trying to deal with for the past few days. So the story is this: we wrote a console application that extracts a large amount of data from a...
29 Mar 2019 by Mithun P
Hi, Here is the requirement i have. Need to open outlook with body having large data with html tags and css. I tried using mailto in a href tag, since data was too long it couldn't load full data in outlook. Later i went on with using Microsoft.Interop outlook and was able to open outlook...