Problems calling JavaScript from VC++
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
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.