How to understand the signature from lib file?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 3mwn8tbfrd19ph0@mail.htl22.at

    How to understand the signature from lib file?

    I used dumpbin to dump all the functions from the lib file.
    But I don't understand the function signature. Something like
    __imp_?Update@C Set@@IAEXXZ

    Where can I find the document to understand this or any tool to
    translate that into c/c++ language?

    Thanks,
    Steve
  • Sam

    #2
    Re: How to understand the signature from lib file?

    3mwn8tbfrd19ph0 @mail.htl22.at writes:
    I used dumpbin to dump all the functions from the lib file.
    But I don't understand the function signature. Something like
    __imp_?Update@C Set@@IAEXXZ
    >
    Where can I find the document to understand this or any tool to
    translate that into c/c++ language?
    This is compiler-specific. Check your compiler's documentation for more
    information.


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iEYEABECAAYFAkk cywoACgkQx9p3GY HlUOKp7wCeItzC5 HYF07PkRyEvHQtr AfrC
    GusAnjAD6n1NiN8 jRHhUiq/XRQqVybKY
    =iuUv
    -----END PGP SIGNATURE-----

    Comment

    • Jack Klein

      #3
      Re: How to understand the signature from lib file?

      On Thu, 13 Nov 2008 16:24:17 -0800 (PST),
      3mwn8tbfrd19ph0 @mail.htl22.at wrote in comp.lang.c++:
      I used dumpbin to dump all the functions from the lib file.
      But I don't understand the function signature. Something like
      __imp_?Update@C Set@@IAEXXZ
      >
      Where can I find the document to understand this or any tool to
      translate that into c/c++ language?
      The C++ language itself does not define the file format of compiled
      object files or library files. They can, and do, vary greatly from
      one compiler/operating system combination to another.

      So you need to ask in a group specific to your platform. From the
      headers on your post, I would suggest one of microsoft's groups on
      news:microsoft. public.*, or a group like
      news:comp.os.ms-windows.program mer.win32.

      --
      Jack Klein
      Home: http://JK-Technology.Com
      FAQs for
      comp.lang.c http://c-faq.com/
      comp.lang.c++ http://www.parashift.com/c++-faq-lite/
      alt.comp.lang.l earn.c-c++

      Comment

      • James Kanze

        #4
        Re: How to understand the signature from lib file?

        On Nov 14, 1:24 am, 3mwn8tbfrd19... @mail.htl22.at wrote:
        I used dumpbin to dump all the functions from the lib file.
        But I don't understand the function signature. Something like
        __imp_?Update@C Set@@IAEXXZ
        Where can I find the document to understand this or any tool to
        translate that into c/c++ language?
        It's implementation defined, but your compiler probably comes
        with a tool to convert it. With Unix based compilers, look for
        something like c++filt or c++filter---the nm command also
        usually has an option -C, which sometime even works. In the
        Windows world, mangling is sometimes called decoration, so you
        might want to look for something with either undecorate or
        demangle its name as well.

        --
        James Kanze (GABI Software) email:james.kan ze@gmail.com
        Conseils en informatique orientée objet/
        Beratung in objektorientier ter Datenverarbeitu ng
        9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

        Comment

        Working...