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. Problems calling JavaScript from VC++

Problems calling JavaScript from VC++

Scheduled Pinned Locked Moved C / C++ / MFC
c++javascripthelptutorialquestion
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.
  • R Offline
    R Offline
    ReneDalsgaard
    wrote on last edited by
    #1

    Hi there I want to use some javaScript from VC++ (an XPointer implementation) and everything works fine with execScript on the IHTMLWindow2 interface. But... Then I want to receive some Xpointer data from another process. I start a VC++ thread and once it is finished and has received the data it sends the data back to my BHO. I once again use the exact same code from obove that worked before only now the execScript returns the error value -2147418113 which translates to "Catastrophic failure". Why? Is it the thread maybe, interrupting the browser when its not ready to run JavaScript. Anyone recognize or know how to solve this? Kind regards Rene.

    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