Web Browser Control and RaceOnRCWCleanup

  • Thread starter Thread starter lord.zoltar
  • Start date Start date
L

lord.zoltar

I added a WebBrowserControl to a form for our help system, as the help
docs are written in HTML.
When I close the program, I sometimes get this error:

"RaceOnRCWCleanup was detected
Message: An attempt has been made to free an RCW that is in use. The
RCW is in use on the active thread or another thread. Attempting to
free an in-use RCW can cause corruption or data loss."

I tried to dispose the Web Browser manually (when the containing form's
FormClosing event occurrs), and I now get the error on:
Me.myHelpBrowser.dispose()

What exactly does this error mean, how serious is it, how do I solve
it?
TIA.
 

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

Back
Top