Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. help: how to see library symbols

help: how to see library symbols

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialcsharpc++linuxtools
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rostfrei
    wrote on last edited by
    #1

    Hello! Which tool can I use under win32 to see which symbols are linked in the to the libray someLib.lib. I can use "nm" utility under Linux (example: someLib.a). Is there some simmilar tool for MSVC constructed libraries? I use MSVC++ .NET 2003. Regards,

    Rostfrei

    W R S 3 Replies Last reply
    0
    • R Rostfrei

      Hello! Which tool can I use under win32 to see which symbols are linked in the to the libray someLib.lib. I can use "nm" utility under Linux (example: someLib.a). Is there some simmilar tool for MSVC constructed libraries? I use MSVC++ .NET 2003. Regards,

      Rostfrei

      W Offline
      W Offline
      Waldermort
      wrote on last edited by
      #2

      Try using depends.exe, not sure if will look at a .lib file though, I know it works for .dlls

      1 Reply Last reply
      0
      • R Rostfrei

        Hello! Which tool can I use under win32 to see which symbols are linked in the to the libray someLib.lib. I can use "nm" utility under Linux (example: someLib.a). Is there some simmilar tool for MSVC constructed libraries? I use MSVC++ .NET 2003. Regards,

        Rostfrei

        R Offline
        R Offline
        Rostfrei
        wrote on last edited by
        #3

        Thank you for response waldermort and benjymous. I tried both tools and it looks like it's the same tool. One comes with .NET installation and another can be downloaded from net. Both were unsuccessful in my case. They work when I open some DLL but when I open LIB file, I get "Error: At least one file was not a 32-bit or 64-bit Windows module." Is there some other tool I can use? Regards,

        Rostfrei

        1 Reply Last reply
        0
        • R Rostfrei

          Hello! Which tool can I use under win32 to see which symbols are linked in the to the libray someLib.lib. I can use "nm" utility under Linux (example: someLib.a). Is there some simmilar tool for MSVC constructed libraries? I use MSVC++ .NET 2003. Regards,

          Rostfrei

          S Offline
          S Offline
          Stephen Hewitt
          wrote on last edited by
          #4

          Depends.exe and other dependency walking tools will only show the imports and exports in a DLL or EXE; I don't believe this is what you're after. I think the tool you need is Dumpbin[^] which comes with Visual Studio. Using this you can examine the symbols and contents of LIB and OBJ files.

          Steve

          R 1 Reply Last reply
          0
          • S Stephen Hewitt

            Depends.exe and other dependency walking tools will only show the imports and exports in a DLL or EXE; I don't believe this is what you're after. I think the tool you need is Dumpbin[^] which comes with Visual Studio. Using this you can examine the symbols and contents of LIB and OBJ files.

            Steve

            R Offline
            R Offline
            Rostfrei
            wrote on last edited by
            #5

            That is exactly what I needed. For anybody else: for Dumpbin to work you need to put "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin" to the PATH and also "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE" because Dumpbin needs mspdb71.dll to work. Thank you Stephen! Regards, Marko Kukovec

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups