title: How do I get source file information with dumpbin /symbols when compiling with VS 2005?
body: <p>I have a tool which uses the output of dumpbin /symbols to do some dependency analysis with our C/C++ libraries. When we compiled the libs with VS 6.0, the dumpbin COFF SYMBOL TABLE contained entries like</p>
  
  <pre><code>000 00000008 DEBUG  notype       Filename     | .file
      x:\mydir\mysource.c
  </code></pre>
  
  <p>allowing me to get the relationship between sources and defined/used symbols, which is essential for my tool.
  When we compile with VS 2005, these entries are missing. When I look at the libs with a hex editor, it seems that there is no filename information at all included in the binary files, so it seems not to be a dumbin problem but is compilation related. So I'm looking for a way to get the Filename entries back into my libraries when compiling with VS 2005.</p>
  
  <hr>
  
  <p>Thanks Scott.</p>
  
  <p>The Debug Help API looks interesting, but I wasn't able yet to figure out how to get the same information I was able to extract from the COFF, ie. for each symbol </p>
  
  <ol>
  <li>the source file that defines it </li>
  <li>and the list of source files using the symbol</li>
  </ol>
  
  <p>Any pointers on this?</p>