Jump to content
  • Advertisement
Sign in to follow this  
fyhuang

Unity What is this COM thing anyways?

This topic is 4582 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I just saw this thread, which led me to ponder a question that I've never asked - what is COM and what is it useful for? Back when I was dabbling in DirectX programming, I had some limited exposure to COM and I must say that I didn't enjoy working with it very much. Maybe someone can change that for me... Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
Short answer: COM is a binary standard that allows different languages to use the same OOP objects. It's a pretty sweet idea (I'm a fan of it), but it's a pain to program in C/C++, as you have to handle all kinds of crap yourself (stuff that is automatically generated for other languages like VB). .NET is kind of the new COM, where most of the crap is handled for you (yeah, yeah, there's other stuff, like MSIL, and all that, which doesn't directly relate to COM).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!