I want get the URL from OnBeforeNavigate2Explorer1(LPDISPATCH pDisp, VARIANT FAR* URL, VARIANT FAR* Flags, VARIANT FAR* TargetFrameName, VARIANT FAR* PostData, VARIANT FAR* Headers, BOOL FAR* Cancel) but, I don't know how can I do it... :( I'm using the ActiveX component (Microsoft Navigator) in a MFC application. How can I use VARIANT FAR* URL and how can I cancel the navigation? Cesario Simoes, jr Working with computers since 1970 (Burroughs, GTE, etc.) Programming in assembly DSP (TMS320c2x and TMS320c5x), C and C++. Using C++ and MFC, developping GUI for telecommunication equipment (PABX, ACD, RAS, etc.)
Cesario Simoes jr
Posts
-
Obtaining URL from OnBeforeNavigate2Explorer1 -
CWebBrowser2 and Acces ViolationI`m using it like I found in the MSDN's article 'Using MFC to Host a WebBrowser Control': //CWebBrowser2 m_browser - to access the WebBrowser control //CEdit m_edit - to access an edit control CString string; m_edit.GetWindowText(string); m_browser.Navigate(string, NULL, NULL, NULL, NULL); When in debug mode I can see the message 'Access Violation' in the debug window but, when in release mode it apparently works fine (I made this test recently) :( Cesario Simoes, jr Working with computers since 1970 (Burroughs, GTE, etc.) Programming in assembly DSP (TMS320c2x and TMS320c5x), C and C++. Using C++ and MFC, developping GUI to telecommunication equipment (PABX, ACD, RAS, etc.)
-
CWebBrowser2 and Acces ViolationI`m looking for some help: I`m trying my first implementation using CWebBrowser2 and always when calling the method navigate occurs Access Violation :( ... May some one help me? :(( Cesario Simoes, jr Working with computers since 1970 (Burroughs, GTE, etc.) Programming in assembly DSP (TMS320c2x and TMS320c5x), C and C++. Using C++ and MFC, developping GUI to telecommunication equipment (PABX, ACD, RAS, etc.)