There must be...

Wij

I am a FH squatter
Joined
Dec 23, 2003
Messages
18,404
...a utility for discovering what Win32 API calls an application makes or can make somewhere on the internet.

I really don't fancy grepping through all my source files for the name of every API and then filtering out all the pseudo-matches. It could take weeks. However I need a list of which APIs I'm using. Anybody ever found a tool that does this job ?

Any help much appreciated :)
 

SheepCow

Bringer of Code
Joined
Dec 22, 2003
Messages
1,365
VS6 came with a list of all the Win32 API calls, and the MSDN docs that come with VS have most if not all of the Win32 api calls listed
 

Wij

I am a FH squatter
Joined
Dec 23, 2003
Messages
18,404
Yeh, but I need to know which ones my apps call.
 

xane

Fledgling Freddie
Joined
Dec 22, 2003
Messages
1,695
Can't you load your application sources in to VS6 then, it builds a handy cross reference.
 

phlash

Fledgling Freddie
Joined
Dec 24, 2003
Messages
195
The tool that comes with any of the M$ dev kits is the 'dependancy viewer' (depends.exe). This lists all the imports/exports that a program has/uses. It also tracks down through all the DLLs too.

http://www.dependencywalker.com/ seems to be the first hit on Google :)
 

TdC

Trem's hunky sex love muffin
Joined
Dec 20, 2003
Messages
30,925
hey, if I have to do it you're doing it too buddy :eek:
 

Danya

Fledgling Freddie
Joined
Dec 23, 2003
Messages
2,466
I use dumpbin - comes with VC, can give you a lot of info of various sorts for an exe or dll.
 

Users who are viewing this thread

Top Bottom