Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. CWebBrowser2 and Acces Violation

CWebBrowser2 and Acces Violation

Scheduled Pinned Locked Moved The Lounge
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cesario Simoes jr
    wrote on last edited by
    #1

    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.)

    E C N 3 Replies Last reply
    0
    • C Cesario Simoes jr

      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.)

      E Offline
      E Offline
      Erik Thompson
      wrote on last edited by
      #2

      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

      C 1 Reply Last reply
      0
      • C Cesario Simoes jr

        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.)

        C Offline
        C Offline
        Colin J Davies
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • C Cesario Simoes jr

          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.)

          N Offline
          N Offline
          NormDroid
          wrote on last edited by
          #4

          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

          A 1 Reply Last reply
          0
          • N NormDroid

            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

            A Offline
            A Offline
            Amit Dey
            wrote on last edited by
            #5

            I, too, am haing access violation problem. The strange thing is sometimes it is there while other times it's not there. what's going on?

            1 Reply Last reply
            0
            • E Erik Thompson

              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

              C Offline
              C Offline
              Cesario Simoes jr
              wrote on last edited by
              #6

              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.)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups