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. The Lounge
  3. DLL Function Prototypes

DLL Function Prototypes

Scheduled Pinned Locked Moved The Lounge
question
11 Posts 6 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
    RAZ
    wrote on last edited by
    #1

    Hi, Is there a way to get the prototypes of the exported functions of a DLL? Thanks Richard

    S 1 Reply Last reply
    0
    • R RAZ

      Hi, Is there a way to get the prototypes of the exported functions of a DLL? Thanks Richard

      S Offline
      S Offline
      Stravaiger
      wrote on last edited by
      #2

      dumpbin /exports TEST.DLL > exports.txt dumpbin.exe comes with Visual C++.

      R B 2 Replies Last reply
      0
      • S Stravaiger

        dumpbin /exports TEST.DLL > exports.txt dumpbin.exe comes with Visual C++.

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

        Thanks, but that only give the function names. I need to know the function prototypes. Richard

        D L 2 Replies Last reply
        0
        • R RAZ

          Thanks, but that only give the function names. I need to know the function prototypes. Richard

          D Offline
          D Offline
          Datacrime
          wrote on last edited by
          #4

          You have to debug a program that make use of that DLL. ;P - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

          1 Reply Last reply
          0
          • S Stravaiger

            dumpbin /exports TEST.DLL > exports.txt dumpbin.exe comes with Visual C++.

            B Offline
            B Offline
            Bruce Duncan
            wrote on last edited by
            #5

            Does anyone know of a tool that will do this for type libraries? I can use OLE View to get the IDL, but I'd like to get hold of the info in C++ and VB formats. I might try to do something like this myself, but why reinvent the wheel, if it has already been done? (actually I'm lazy, but thats besides to point ;-) )

            S L 2 Replies Last reply
            0
            • B Bruce Duncan

              Does anyone know of a tool that will do this for type libraries? I can use OLE View to get the IDL, but I'd like to get hold of the info in C++ and VB formats. I might try to do something like this myself, but why reinvent the wheel, if it has already been done? (actually I'm lazy, but thats besides to point ;-) )

              S Offline
              S Offline
              Sir Gras of Berger
              wrote on last edited by
              #6

              OLEView itself is a VC Sample.

              1 Reply Last reply
              0
              • R RAZ

                Thanks, but that only give the function names. I need to know the function prototypes. Richard

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                I have got a program at work that givs me the prototypes of the functions in a dll. I can't remember the name of the program, but I can have a look at it tomorrow.

                L 1 Reply Last reply
                0
                • B Bruce Duncan

                  Does anyone know of a tool that will do this for type libraries? I can use OLE View to get the IDL, but I'd like to get hold of the info in C++ and VB formats. I might try to do something like this myself, but why reinvent the wheel, if it has already been done? (actually I'm lazy, but thats besides to point ;-) )

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Wasn't there an article in MSJ a year or so back about doing this very thing? Can't remember who wrote it though. The article was on generating symbols from a type library (I think). CHeck out the MSJ website, its probably on there. Stephen Kellett

                  B 1 Reply Last reply
                  0
                  • L Lost User

                    Wasn't there an article in MSJ a year or so back about doing this very thing? Can't remember who wrote it though. The article was on generating symbols from a type library (I think). CHeck out the MSJ website, its probably on there. Stephen Kellett

                    B Offline
                    B Offline
                    Bruce Duncan
                    wrote on last edited by
                    #9

                    Thanks, I think this is the article, if anyone else is interested Improve Your Debugging by Generating Symbols from COM Type Libraries

                    L 1 Reply Last reply
                    0
                    • L Lost User

                      I have got a program at work that givs me the prototypes of the functions in a dll. I can't remember the name of the program, but I can have a look at it tomorrow.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      The program is called ShowDep. http://www.showdep.com

                      1 Reply Last reply
                      0
                      • B Bruce Duncan

                        Thanks, I think this is the article, if anyone else is interested Improve Your Debugging by Generating Symbols from COM Type Libraries

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #11

                        Thats the one! Stephen Kellett

                        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