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. how to get which address call my function

how to get which address call my function

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingtutorial
5 Posts 4 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.
  • H Offline
    H Offline
    HOW WHAT
    wrote on last edited by
    #1

    my project - a plugin dll. but i not have master exe source code. which can tell me how to get which address call my export function, in this way, i can debug easy and catch exception. Thanks.

    E 1 Reply Last reply
    0
    • H HOW WHAT

      my project - a plugin dll. but i not have master exe source code. which can tell me how to get which address call my export function, in this way, i can debug easy and catch exception. Thanks.

      E Offline
      E Offline
      eraccn
      wrote on last edited by
      #2

      I think if there's no input,you can make a own input,just as the master exe.

      Later buggers harm more.

      H 1 Reply Last reply
      0
      • E eraccn

        I think if there's no input,you can make a own input,just as the master exe.

        Later buggers harm more.

        H Offline
        H Offline
        HOW WHAT
        wrote on last edited by
        #3

        can get from call stack?

        D M 2 Replies Last reply
        0
        • H HOW WHAT

          can get from call stack?

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Yes, but if the EXE that loaded your DLL has no associated debug information, you're not going to see anything useful in the call stack window.


          "A good athlete is the result of a good and worthy opponent." - David Crow

          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

          1 Reply Last reply
          0
          • H HOW WHAT

            can get from call stack?

            M Offline
            M Offline
            Michael Dunn
            wrote on last edited by
            #5

            Don't trust the return address[^] Don't trust the return address, no really[^]

            --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Dunder-Mifflin, this is Pam.

            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