Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

Invalid COMObject Exception occuring when word document is closed.

$
0
0

Hi,

I have a ribbon  application for MSWord plugin. In one of my modules,i have included a multithreading scenario, where,one thread  with apartment state set as STA has been called from inside another parent thread.But after this implementation though I have achieved the intended functionality,but  ,it has generated another exception now.i.e, on close of word  file am getting this COM exception saying "COM object that has been separated from its underlying RCW cannot be used".

Please suggest  what can be done here.


Thanks in advance.

Samjukta



Viewing all articles
Browse latest Browse all 4350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>