How to use Internet Explorer with C++ using OLE
-
In other programming languages such as Visual Foxpro I have to write only
loObj = CreateObject("InternetExplorer.Application") loObj.navigate2("www.google.com")
and I have an object of IE at google page and I can do with it what I want. How can I do this in C++ by easy way ? I am beginner, I am using VS2005 and pure C++, no .NET, no ATL -
In other programming languages such as Visual Foxpro I have to write only
loObj = CreateObject("InternetExplorer.Application") loObj.navigate2("www.google.com")
and I have an object of IE at google page and I can do with it what I want. How can I do this in C++ by easy way ? I am beginner, I am using VS2005 and pure C++, no .NET, no ATLActually, if you are a beginner, there is no easy way especially without ATL. This article should get you started: http://www.codeproject.com/com/com_in_c1.asp[^]. This article actually deals more with creation rather than usage. However, I believe you need to understand the process from creation to employment to actually use COM/OLE in C++ correctly. Some may disagree with this but this has been my experience. Good luck. -- modified at 21:55 Tuesday 10th April, 2007
"We make a living by what we get, we make a life by what we give." --Winston Churchill
-
In other programming languages such as Visual Foxpro I have to write only
loObj = CreateObject("InternetExplorer.Application") loObj.navigate2("www.google.com")
and I have an object of IE at google page and I can do with it what I want. How can I do this in C++ by easy way ? I am beginner, I am using VS2005 and pure C++, no .NET, no ATLdo u use MFC? if yes, u could use CHtmlView which wraps WebBrowser control.
life is like a box of chocolate,you never know what you r going to get.