I want to know when and why to use COM?
Please let me know in which situation I need to use com instead of normal DLL.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, it’s worth mentioning that COM is quite an old technology. It significantly predates .NET, which sometimes provide the same functionality. However, comparing to a plain DLL, it has a few advantages, for example:
This is just the tip of the iceberg. Although dated, COM is widely used in Windows. Whether it’s the right technology for you to use these days is a different matter – this really depends on your specific needs. But if you’re a Windows programmer, it’s definitively worth getting familiar with anyway. Even it you don’t produce any COM product, you’re very likely to consume one.