COM object that has been separated from its underlying RCW can not be used???

M

Marco Castro

I'm getting the error "COM object that has been separated from its
underlying RCW can not be used." whenever I run one of my functions too
much. It didn't use to this until I moved part of it into another function
and read its results. Does anyony know what this error means?
 
A

Anand Balasubramanian

You can check the following article
http://support.microsoft.com/?id=818612

Also need more info about your application.

Anand Balasubramanian
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks
 
Joined
Jan 9, 2007
Messages
1
Reaction score
0
COM object that has been separated from its underlying RCW can not be used

Hi,

I have created a C# component which I am calling from VB. C# component is calling COM components created in VC 7. I have created a package with all the dlls and instlled on PC. For the first time when application is opened and trying to acces the C# component gives error "COM object that has been separated from its underlying RCW can not be used". But, close the application and again try to open the application works fine. This problem is not consistent.
I am kind of a stuck.
Please give your suggestions!!

Thanks,
Sri.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top