Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Another BUG of IE6.0 @_@?

Another BUG of IE6.0 @_@?

Scheduled Pinned Locked Moved C / C++ / MFC
databaseperformancehelpquestionannouncement
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 1 Offline
    1 Offline
    123ivan123
    wrote on last edited by
    #1

    When variable i increase to some value(not always definite),exception occurs,is it another bug of ie6.0? Thx a not! Source code goes as follows: IHTMLDocument2* pDoc2=NULL; IHTMLElementCollection* ppCollection=NULL; IDispatch* ppvdispOption=NULL; pView->GetDHtmlDocument2(&pDoc2);//pView--a pointer to CHTMLEditView,already asigned with enougth memory Assert(pDoc2); pDoc2->get_all(&ppCollection); Assert(ppCollection); ppCollection->get_length(&Count); for (long i=0;i { _variant_t index ; index=i; try { ppCollection->item(index,index,&ppvdispOption); } catch (...) { tagstr.Format("%d",i); AfxMessageBox(tagstr); return FALSE; } if(!ppvdispOption) continue; ppvdispOption->QueryInterface(IID_IHTMLElement,(void **) &pElement); ppvdispOption->Release(); //......... }

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups