Reputation: 483
We are using a software library from a major US manufacturer. For years the library had mainly two interfaces, a bunch of C API DLLs and a collection of ActiveX controls which encapsulate the DLL functionality. The ActiveX interface worked pretty well back in the old days of Visual Basic 6.
Then .NET appeared with its COM Interop compatibility interface for the now old ActiveX technology. This had a few pitfalls, like dynamic objects never removed (link) or problems when using multi-threaded applications (cross apartment calls, etc.).
Now the manufacturer decided to discontinue the ActiveX interface because "of the growing migration from COM (i.e., ActiveX control) to .NET technology within the Windows® development community". What is some more information about that?
Are there plans from Microsoft to drop the COM Interop interface in future .NET releases or are there other huge current and future issues I haven't thought about? Or is this more a matter of taste, like buying a new TV because it looks better?
Also, is there is some kind of ActiveX RAD replacement, where from the user side I drag and drop a control to my form, set all parameters graphically and are almost done with that?
Upvotes: 0
Views: 808
Reputation: 22020
Win32 is still heavily based on decisions made in the DOS days, for backward compatibility. After investing so much in COM, Microsoft will probably keep that spirit supporting COM interop until .NET dies. Having said that, they will just maintain what they have, without any further development.
The ActiveX vendor, OTOH, doesn't have that kind of commitment (or at least they don't feel they do). So regardless of Microsoft's support, they can just drop the ActiveX interface if they like. And they are definitively right saying people hardly ever use COM anymore.
Upvotes: 2
Reputation: 294207
It is nice to see you out from that cave! Right now on SO there are 26886 questions tagged C#, 16657 tagged .NET, 12956 tagged ASP.NET and only 700 tagged COM and 243 tagged ActiveX.
The writing has been on the wall for many many years. The CLR-based RAD component technologies had already gone through several incarnations in the past 7-8 years.
Upvotes: 0
Reputation: 161773
.NET exceeded the functionality of VB6/ActiveX over six years ago. Today there's no comparison.
It's only surprising that your vendor took this long to decide to drop ActiveX support.
BTW, the drag/drop RAD stuff exceeded ActiveX back when .NET 1.0 first shipped!
Upvotes: 0