CWebBrowser2 and Acces Violation
-
I`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.)
-
I`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.)
It'd help to see your method call since it sounds like you are passing parameters it isn't expecting or of the wrong type. -Erik
-
I`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.)
In MSDN search out "Boning" :eek: for a starter at using the webBro { Yeah I know that soundz weird but try it OK } Regardz Colin Davies PS: You'll get a better response in the C++ Section
-
I`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.)
-
When stepping CWebBrowser2 which line of code does the Acess Violation does it break on? I agree with Erik, sounds like wrong parameters being passed in. How you tried any of the samples on MSDN? Norm
-
It'd help to see your method call since it sounds like you are passing parameters it isn't expecting or of the wrong type. -Erik
I`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.)