unhandled AV using webBrowser

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wilfried Mestdagh

    unhandled AV using webBrowser

    Hi,

    I use VS 2005 beta2. On existing project I added a new form with a
    webBrowser on it. When the webbrowser is used then at shutdown time of my
    application I have unhandled AV,: Attempted to read or write protected
    memory. This is often an indication that other memory is corrupt.

    The debugger does not stop on some code line. So it seems something only in
    IDE. When I click 'ok' and then F5 the application terminate normally. Also
    if I run the realease version outside de debugger no AV is trown.

    When I try the webbrowser on a new project then all is working fine, so I
    cannot emulate it on a simple way.

    I'm just beginning in C# so I dont know where to start search at. The
    project is based on WeifenLuo.WinFo rmsUI.Docking, but of course I dont know
    if that has something to do with it.

    Iif someone can advice on where to start debugging it will be very
    appreciated.

    --
    rgds, Wilfried

  • Wilfried Mestdagh

    #2
    RE: unhandled AV using webBrowser

    Hi,

    I just tryed again with a new application, and created a second form with a
    webBrowser sitting on it. I activate it with this code:

    private void testToolStripMe nuItem_Click(ob ject sender, EventArgs e)
    {
    Form2 F = new Form2();
    F.ShowDialog();
    }

    So nothing special on it. When I do this, close it, then quit the
    application then I have same error. So something in the WebBrowser wrong ?

    Comment

    • Willy Denoyette [MVP]

      #3
      Re: unhandled AV using webBrowser


      "Wilfried Mestdagh" <WilfriedMestda gh@discussions. microsoft.com> wrote in
      message news:980D48DC-4C28-477A-B1E0-891CDB451295@mi crosoft.com...[color=blue]
      > Hi,
      >
      > I use VS 2005 beta2. On existing project I added a new form with a
      > webBrowser on it. When the webbrowser is used then at shutdown time of my
      > application I have unhandled AV,: Attempted to read or write protected
      > memory. This is often an indication that other memory is corrupt.
      >
      > The debugger does not stop on some code line. So it seems something only
      > in
      > IDE. When I click 'ok' and then F5 the application terminate normally.
      > Also
      > if I run the realease version outside de debugger no AV is trown.
      >
      > When I try the webbrowser on a new project then all is working fine, so I
      > cannot emulate it on a simple way.
      >
      > I'm just beginning in C# so I dont know where to start search at. The
      > project is based on WeifenLuo.WinFo rmsUI.Docking, but of course I dont
      > know
      > if that has something to do with it.
      >
      > Iif someone can advice on where to start debugging it will be very
      > appreciated.
      >
      > --
      > rgds, Wilfried
      > http://www.mestdagh.biz[/color]

      Please post your Beta2 questions to the forums http://forums.microsoft.com
      these are specially set-up to help you with Whidbey Beta issues.

      Willy.


      Comment

      Working...