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

  • Thread starter Thread starter Marco Castro
  • Start date Start date
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?
 
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
 
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.
 
Back
Top