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. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved C / C++ / MFC
4 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.
  • S Offline
    S Offline
    sheny
    wrote on last edited by
    #1

    [Message Deleted]

    P B 2 Replies Last reply
    0
    • S sheny

      [Message Deleted]

      P Offline
      P Offline
      Phil J Pearson
      wrote on last edited by
      #2

      If the dll is not loaded into memory then it's not being used. However, you probably mean "how many programs might potentially need the dll if and when they are run". The answer is there's not really any way to tell. You could run the depends tool on all the executables on the computer but you still wouldn't know because the dll might be loaded at run-time by something. Shared dll's are supposed to be registered so they appear in the registry but there's nothing to guarantee that. The only way to be sure is to delete the dll and then run absolutely every application using every possible feature under every possible condition. If something complains then the dll was needed. If not then it (probably) wasn't.


      The opinions expressed in this communication do not necessarily represent those of the author (especially if you find them impolite, discourteous or inflammatory).

      1 Reply Last reply
      0
      • S sheny

        [Message Deleted]

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

        You could use the windows search for files option to find *.exe and *.dll files that contain the name of the dll in question -- Help me! I'm turning into a grapefruit! Phoenix Paint - back from DPaint's ashes!

        P 1 Reply Last reply
        0
        • B benjymous

          You could use the windows search for files option to find *.exe and *.dll files that contain the name of the dll in question -- Help me! I'm turning into a grapefruit! Phoenix Paint - back from DPaint's ashes!

          P Offline
          P Offline
          Phil J Pearson
          wrote on last edited by
          #4

          benjymous wrote: You could use the windows search for files option to find *.exe and *.dll files that contain the name of the dll in question This is no better than using the depends tool. It does not take account of the possibility of programs loading dll's at runtime. The name of the dll may be built at runtime from user input or registry/ini settings for example.


          The opinions expressed in this communication do not necessarily represent those of the author (especially if you find them impolite, discourteous or inflammatory).

          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