I am evaluating some scrotum document software when I create a sample project, I get a linker error Which looks like:
Error LNK2019: Unsolved external symbol
Lib files on this are not fully app, so I can solve this problem with trial and error , But I know that another elegant to solve this problem is the way.
In the Java world, I want to broach Fry * .gir to find Jar and I'm looking for C ++ analog. I am working with C ++ code in Visual Studio 2005.
I suspect that the lib.exe utility can get information with / LIST option, but I have failed yet. It prints only:
Microsoft (R) Library Manager Version 8.00.50727.762 Copyright (C) Microsoft Corporation All Rights Reserved. Granite50.dll granite50.dll granite50.dll granite50.dll ...
Any suggestions?
First of all, you need to know what type of library you are viewing. Some libraries contain links to only one DLL (i.e., import libraries) and other code objects that become part of executable image (i.e., stable libraries). By seeing that output, you were watching a DLL import library.
Next you want to use the right tool to extract the libraries from Lib.exe files and what is not it is very similar to Jar Utility for Java Microsoft DumpBin. XE provides information that will dump information from the library. I think it has already mentioned it.
For import libraries, run dumpbin.exe -headers foo.lib
and redirect it to an output file. Output will contain snippets for each symbol that search for the lines that begin with the related DLL export "Symbol name:"
. Note that if you want an exact match, there are two places before and after "Symbol name" you can also run output through the findstr
to create a list of symbols and a You can redirect to a text file if you want to see something well:
dumpbin .exe -headers foo.lib | Searchstroke / c: "symbol name:" & gt; Foo-exports.txt
The second option is to open the related DLL with depend.exe
.
Comments
Post a Comment