C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
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
12
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.
People also reading
Membership not found