Click here to Skip to main content
15,880,891 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,

I am using IHTMLWindow2Ptr to execute javascript in IE for my project.

For Example : i am doing like this

IHTMLWindow2Ptr ->execScript("alert('Hi')", JavaScript),

same script i want to run in google chrome but i do not have pointer to execute script in chrome space.

Can you help me regarding this, how can i add code in visual studio and which dll to get pointer so that i can run my script inside chrome,

Thanks & Regard,
TK
Posted
Comments
Sergey Alexandrovich Kryukov 16-Mar-15 10:33am    
What are you trying to achieve?
—SA

1 solution

hi,
Microsoft COM interfaces will not work in Chrome.
"V8" is Google's way of doing it. Google more on it.
You can start from here[^].

Hope this helps !!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900