On Jun 12, 5:29 pm, "Alex Blekhman" <tkfx.REM...@yahoo.com> wrote:
"Ana" wrote:
It compiles well but crashes on navigate call of webbrowser
interface. ( the pointer returned is NULL and I cannot really
proceed further.).
Please suggest if authomation selection in MFC application has
anything to do with initializing the Iwebbrowser*.
You don't need to do anything special for that. I have just
created dummy MFC dialog project with VS 2008 and dragged
WebBrowser on the main dialog. Then I added an edit box for an URL
text and one button [Go]. On button click I call Navigate method
of my CWebBrowserCtrl class (generated by the IDE when I added a
variable to main dialog class for WebBrowser control). Everything
works out of the box.
I suggest you to start new dummy project and do the same I just
did. Then you will be able to compare exiting code in your
application with IDE generated code.
HTH
Alex
Thanks Alex, I have already done that , that does not help ,as in the
code an Instance of IwebBrowser2* is used which is used in automation
contructor( Wrap the webbrowser in Automation).This is a code done
withVC6.
Though i understand I ll have to redo the code, but yet if there is
something that can resolve the issue
Any light will help.
Thanks,Ana- Hide quoted text -
- Show quoted text -
and has htmlview type function definitions as members.