Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Limitations of COM Interop
WhatsApp
Shweta Lodha
11y
11.8
k
0
1
25
Blog
Following is the list of a couple of shortcomings:
Static/shared members:
COM objects are fundamentally different from the .Net types. One of the differences is the lack of support for the static/shared members.
Parameterized Constructors:
COM types don't allow parameters to be passed into a constructor. This limits the control you have over the initialization and the use of the overloaded constructors.
Inheritance:
One of the biggest issues, is the limitation that the COM objects placed on the inheritance chain. Members that shadow members in a base class aren't recognizable, and therefore, aren't callable or usable in the real sense.
Portability:
Operating Systems other than the Windows don't have the registry. Reliance on the Windows registry limits the number of environments a .Net application can be ported to.
Limitations of COM Interop
Up Next
Creating Excel File using Interop Services
Ebook Download
View all
Solutions Manual to Objects First with Java – A Practical Introduction using BlueJ
Read by 1.8k people
Download Now!
Learn
View all
Membership not found