CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Location
    Canada
    Posts
    1,342

    Determine which DLLs a program is ACTUALLY using?

    I have a program which loads a DLL a startup time, but I suspect that it doesn't actually use any of the procedures in the DLL during execution. Is there a way to confirm this?

    Tools like Dependency Walker don't help me, because all they can do is report which DLLs a program will load. I need a way of finding out whether my program actually uses a particular DLL, or it just loads it without making any calls to it.

    Any suggestions?
    Old Unix programmers never die, they just mv to /dev/null

  2. #2
    Join Date
    Nov 2003
    Posts
    1,902

    Re: Determine which DLLs a program is ACTUALLY using?

    Dependency walker will tell you what symbols are being referenced in the DLL. If you want to know if those symbols are ever "touched", then run it under the debugger with breakpoints.

    What's the end-goal here?

    gg

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