Re: finding out application dependencies;



Process Explorer from sysinternals does this fairly well for programs that
are running.

There is a document on the Windows PE format that shows how to read an
executable's binary and look at its imports and exports. To do this
properly you will need to look at the main program and determine what it
imports. Then, you read each of those binaries to see what they import.
Total Commander has a plugin, Lister, that can do this, but it takes a long
time to do it. This technique will not find delay load imports unless there
is a table for them, but I don't know. Any library loaded via LoadLibrary
will also not appear in this dependency list since only the executable code
knows when it is going to call that function. You could determine from the
imports that an executable does use LoadLibrary but not what it is loading.


"krish" <pradeep_bisht@xxxxxxxxx> wrote in message
news:c56bdeb4-64ae-4463-8666-80c778404e52@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
How can I find out the dependencies of an application inside my
program/driver? Say e.g If I want to find out the dependencies of
iexplorer.exe inside my program? What are the APIs? I knwo there is a
program something called dependency walker so I assume there must be
some way of doing this.

I wan to provide a GUI which lists all the programs installed on the
computer and when user cselects one of them I lists all the files
(.dlls etc) on which it is dependent.

Thanks.


.



Relevant Pages

  • Re: finding out application dependencies;
    ... including dlls etc are loaded. ... It can trace execution of a program, ... executable's binary and look at its imports and exports. ... program something called dependency walker so I assume there ...
    (microsoft.public.development.device.drivers)
  • Re: finding out application dependencies;
    ... PsSetLoadImageNotifyRoutine and PsSetCreateProcessNotifyRoutine callbacks; ... It can trace execution of a program, ... executable's binary and look at its imports and exports. ... program something called dependency walker so I assume there ...
    (microsoft.public.development.device.drivers)
  • Re: Anquet Upgrade - Their Conditions - Questions and Answers
    ... dependency involved, where the second activity depends upon the first. ... as is the case with summit lists and shopping lists and so forth. ... thefore no reason to do them in the order stated. ... A couple of days ago I went out for a walk and took lots of photos. ...
    (uk.rec.walking)
  • Re: finding out application dependencies;
    ... Hi Anand, I did not find anything and that's why I posted here:( ... It can trace execution of a program, ... executable's binary and look at its imports and exports. ... will also not appear in this dependency list since only the executable ...
    (microsoft.public.development.device.drivers)
  • Re: finding out application dependencies;
    ... But in all the above solution I'm just able to get the dlls which have ... delayed load imports and the ones loaded using LoadLibrary function. ... It can trace execution of a program, ... program something called dependency walker so I assume there ...
    (microsoft.public.development.device.drivers)

Loading