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. General Programming
  3. C / C++ / MFC
  4. debugging problem

debugging problem

Scheduled Pinned Locked Moved C / C++ / MFC
questiondebugginghelp
5 Posts 3 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.
  • P Offline
    P Offline
    pepe 0
    wrote on last edited by
    #1

    Hello, I've created an iexplorer 'plugin' that works fine, exept that when I open a new instance of the browser, it crashes in MSHTML.DLL (addr 636ac73f). This is not a function called by me. How can I have more info why this happens ? Is it possible to debug MSHTML.DLL ? Thanx.

    B 1 Reply Last reply
    0
    • P pepe 0

      Hello, I've created an iexplorer 'plugin' that works fine, exept that when I open a new instance of the browser, it crashes in MSHTML.DLL (addr 636ac73f). This is not a function called by me. How can I have more info why this happens ? Is it possible to debug MSHTML.DLL ? Thanx.

      B Offline
      B Offline
      benjymous
      wrote on last edited by
      #2

      You should be able to give the browser's executable in the Visual Studio project settings ("Executable for debug session" in the debug tab). Then when you hit run, it'll open explorer. Then get the plugin to start (if it doesn't automatically), and you should be able to debug it as you would any other app -- Help me! I'm turning into a grapefruit!

      P 1 Reply Last reply
      0
      • B benjymous

        You should be able to give the browser's executable in the Visual Studio project settings ("Executable for debug session" in the debug tab). Then when you hit run, it'll open explorer. Then get the plugin to start (if it doesn't automatically), and you should be able to debug it as you would any other app -- Help me! I'm turning into a grapefruit!

        P Offline
        P Offline
        pepe 0
        wrote on last edited by
        #3

        That's what i'm doing but it does'nt help. All i get is an access violation and the call stack shows MSHTML!636ac73f called by MSHTML!636ac784 called by MSHTML!63661c70. And nothing else, so I cannot determine which function is called ! Is there another solution ?

        B 1 Reply Last reply
        0
        • P pepe 0

          That's what i'm doing but it does'nt help. All i get is an access violation and the call stack shows MSHTML!636ac73f called by MSHTML!636ac784 called by MSHTML!63661c70. And nothing else, so I cannot determine which function is called ! Is there another solution ?

          B Offline
          B Offline
          benjymous
          wrote on last edited by
          #4

          Ahh, so is the access violation happening somewhere outside of your code. I think you can download the symbols for windows2k from the microsoft site somewhere. Installing those might be able to tell you what is actually happening when the crash happens. I assume if you put breakpoints in to your code that it crashes before reaching them? -- Help me! I'm turning into a grapefruit!

          A 1 Reply Last reply
          0
          • B benjymous

            Ahh, so is the access violation happening somewhere outside of your code. I think you can download the symbols for windows2k from the microsoft site somewhere. Installing those might be able to tell you what is actually happening when the crash happens. I assume if you put breakpoints in to your code that it crashes before reaching them? -- Help me! I'm turning into a grapefruit!

            A Offline
            A Offline
            Anders Molin
            wrote on last edited by
            #5

            You can download symbols from microsoft.com/ddk[^] - Anders Money talks, but all mine ever says is "Goodbye!"

            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