Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's wrong with DCOM?

Tags:

dcom

There seems to be a lot of enmity against DCOM, and I'm curious to understand why. For a company still writing to the Win32 SKD using C++, is there any real reason not to use DCOM in current or future development? Is some future version of Windows not going to support it? Is it too fragile and fails to work often? Is it too complicated to implement compared to other technologies? What's the deal?

like image 300
Charles Avatar asked Dec 04 '09 14:12

Charles


2 Answers

I dislike COM/DCOM because "Catastrophic failure" is the most unhelpful error message in the history of error messages.

like image 115
Donnie Avatar answered Oct 31 '22 14:10

Donnie


  1. Security model. Especially when computers are not in the same domain (or aren't in domain at all).
  2. Auto interfaces modeled for Visual Basic (original, not .NET), obsolete and not pretty to use from other languages.

If you only want to develop in C++ and deploy in controlled network, it may still be a good choice.

like image 27
ima Avatar answered Oct 31 '22 16:10

ima