Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

InvalidComObjectException

Posted on 2012-08-21
4
Medium Priority
?
658 Views
Last Modified: 2012-08-26
What does the following C# InvalidComObjectException mean and how can it be resolved?

"COM object that has been separated from its underlying RCW cannot be used."
0
Comment
Question by:Artic
  • 3
3 Comments
 
LVL 22

Accepted Solution

by:
p_davis earned 2000 total points
ID: 38315977
it usually means that you are trying to access a com object that has already been disposed.
0
 
LVL 22

Expert Comment

by:p_davis
ID: 38315980
you will have to make sure that you are managing your interfaces correctly.
0
 
LVL 22

Expert Comment

by:p_davis
ID: 38317399
jkr, it could be c# com to c++. I work in that scenario daily.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month20 days, 18 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question