CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1

    how to find caller

    i moved function from one dll to another and translated all its direct callers (i think)

    anyway running program now stops at
    "the procedure entry point blabla could not be located in original-dll-name"

    -> how to find what exe or dll displays this message?
    (project contains of large tree of depending dlls)

    thanks
    Last edited by real name; April 25th, 2005 at 03:07 AM.

  2. #2

    Re: how to find caller

    just look to output window and rebuild last displayed does not help
    Last edited by real name; April 25th, 2005 at 03:29 AM.

  3. #3
    Join Date
    Feb 2001
    Location
    TN
    Posts
    290

    Re: how to find caller

    Could the source browser help with this?

    In VC++ 6 it's under tools.

  4. #4
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: how to find caller

    Look up the Depends.exe tool.
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinWindows - replacement windows manager for Visual Studio, and more...

  5. #5

    Re: how to find caller

    thanks for tip but how to use it?
    i can see when any dll depends on another dll and that another dll is missing
    but how to find it does not contain expected function?

  6. #6
    Join Date
    Apr 2001
    Location
    San Diego CA
    Posts
    378

    Re: how to find caller

    load the DLL in Depends.exe and it will list all the function signatures. Verify these with your source.
    þ|êâšë rä†è rëþ|ïëš †hª† hë|þëd

  7. #7

    Re: how to find caller

    maybe i do not understand
    i have 1 exe and 300 dlls
    i moved one fn from dll299 to dll300 and now starting exe it displays fn not found in dll299
    (seems to me complicated open dlls 1-298 to find which one needs rebuild)

  8. #8
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: how to find caller

    Quote Originally Posted by real name
    maybe i do not understand
    i have 1 exe and 300 dlls
    i moved one fn from dll299 to dll300 and now starting exe it displays fn not found in dll299
    (seems to me complicated open dlls 1-298 to find which one needs rebuild)
    Then rebuild them all
    Also, you could use a "Profile" command of the Depends. That might give you the name of the module which needs that entry point (not sure about that)
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinWindows - replacement windows manager for Visual Studio, and more...

  9. #9

    Re: how to find caller

    that's it - rebuild all takes few hours

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured