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.
 
Back
Top