The Artima Developer Community
Sponsored Link

.NET Buzz Forum
COM Is Not Love!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Peter G Provost

Posts: 849
Nickname: pprovost
Registered: Aug, 2003

Peter G Provost is a Solution Architect for Interlink Group in Denver, CO.
COM Is Not Love! Posted: Jan 8, 2004 9:31 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Peter G Provost.
Original Post: COM Is Not Love!
Feed Title: Peter Provost's Geek Noise
Feed URL: /error.aspx?aspxerrorpath=/Rss.aspx
Feed Description: Technology news, development articles, Microsoft .NET, and other stuff...
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Peter G Provost
Latest Posts From Peter Provost's Geek Noise

Advertisement

Maybe COM Is Love was valid back when we didn't have anything better, but having spent the last two years working in managed code land, I fucking hate it.

We are creating an Outlook AddIn in C++. For a while there, the primary developer was worrying more about figuring out how to make Extended MAPI work than he was worrying about managing his COM pointers properly. No big deal, we probably had some COM leaks, but we would find them later.

So I spent half the day today fixing all the COM references and now my addin won't unload. Outlook doesn't ever close. I'm sure I'm leaving a ref count up, but I hate having to chase this crap down. The tools for finding these leaks are pathetic. About the only way to really do it is by carefully tracing the code and watching the ref counts. It absolutely blows.

There... now that I have that off my chest, I'll go to sleep and in the morning I'll find the extra AddRef.

Read: COM Is Not Love!

Topic: My other Blog now has an RSS feed... Previous Topic   Next Topic Topic: New Web-Casts Recorded Today

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use