Web Browser Control and RaceOnRCWCleanup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lord.zoltar@gmail.com

    #1

    Web Browser Control and RaceOnRCWCleanup

    I added a WebBrowserContr ol 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:

    "RaceOnRCWClean up 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.myHelpBrowse r.dispose()

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

Working...