Reuse Navigate2 may crash

From: Mike J ("Mike)
Date: 11/24/04

  • Next message: Josh Mclaren: "Re: Igor, pAPP toolkit questions"
    Date: Wed, 24 Nov 2004 17:34:36 -0000
    
    

    I use the MFC creating an explorer style test program. On left
    pane(CLeftView just give a list of URL under one branch), the right side
    using a CHtmlView derived class. When select a URL, it will call
    Navigate2(theURL,0,0) and fill the right view.

    I continued to select a different URL(previous URL may not fully loaded),
    the program will crash at some point(on select the third URL) . And gave
    something like:
    User breakpoint called from code at 0x7c901230
    HEAP[TestHtml.exe]: HEAP: Free Heap block 1a6078 modified at 1a6f44 after it
    was freed

    I called a Stop method before the Navigate2, that won't help.

    OS XP sp2
    VC++ 6.0
    IE 6.0.2900.2180
    #define _WIN32_WINNT 0x0400
    #define UNICODE
    #define _UNICODE

    Any idea ?
    Thanks

    Mike


  • Next message: Josh Mclaren: "Re: Igor, pAPP toolkit questions"