tags:

views:

594

answers:

4

I do not see dumbin.exe on my sysytem . I have Visual Studio 2005 on my system . When I type dumpbin on command line , it says unrecognizable command .

Does not it come ( by default ) with Visual Studio , or do I have to explicitly add this tool .

+4  A: 

You probably need to open a command prompt with the PATH set up properly. Look for an icon in the start menu that says something like "Visual C++ 2005 Command Prompt". You should be able to run dumpbin (and all the other command line tools) from there.

Greg Hewgill
+1  A: 

By default, it's not in your PATH. You need to use the "Visual Studio 2005 Command Prompt". Alternatively, you can run the vsvars32 batch file, which will set up your environment correctly.

Conveniently, the path to this is stored in the VS80COMNTOOLS environment variable.

Roger Lipscombe
A: 

Thanks Greg and Roger , yeah that works for me ( running from Visual Studio Command Propmpt ) .

Since you're new to Stack Overflow, don't forget to mark the most helpful answer as "accepted" (click on the check mark beside the answer). Welcome!
Greg Hewgill
A: 

Running dumpbin with VS2008 can give you: fatal error LNK1106: invalid file or disk fu ll: cannot seek to 0x6179A see this thread:

http://stackoverflow.com/questions/1536557/converting-a-windows-dll-to-lib-for-c-visual-studio-2008

Mike Trader