Question

Using VS2010 with an older Win32 C/C++ Project, I'm trying to track down missing symbols in a project recently built. In the past I've used lib.exe to examine contents of libraries, but that doesn't seem to work anymore. For example

lib /List:libname.lib

returns only: Microsoft (R) Library Manager Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved..

So what are the best practices for tracking down missing symbols in VS2010?

Thanks.

Was it helpful?

Solution

I repro, the command line syntax you use is wrong. Omit the colon:

C:\projects\cpptemp3\Debug>lib /list cpptemp3.lib
Microsoft (R) Library Manager Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Debug\stdafx.obj
Debug\test.obj

OTHER TIPS

As far as looking for symbols goes, I use dumpbin /symbol [lib or obj file]

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top