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. Figuring out DLL APIs...

Figuring out DLL APIs...

Scheduled Pinned Locked Moved The Lounge
questioncsharpc++visual-studio
19 Posts 9 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.
  • C ColinDavies

    Daniel Desormeaux wrote: The lounge is probably not the best place to ask this question in (the C++ forum would probably be closer) Then why do you persist in asking it here ? Regardz Colin J Davies

    Sonork ID 100.9197:Colin

    Most people should stick to calculators, Isaac Sasson 28 th Law of Computing: Anything that can go wr# Segmentation violation -- Core dumped

    N Offline
    N Offline
    Nish Nishant
    wrote on last edited by
    #6

    Colin Davies wrote: Then why do you persist in asking it here ? Persist eh? He must be a COM programmer ;-) Nish My most recent CP article :- A newbie's elementary guide to spawning processes www.busterboy.org

    T 1 Reply Last reply
    0
    • N Nish Nishant

      Colin Davies wrote: Then why do you persist in asking it here ? Persist eh? He must be a COM programmer ;-) Nish My most recent CP article :- A newbie's elementary guide to spawning processes www.busterboy.org

      T Offline
      T Offline
      Tim Smith
      wrote on last edited by
      #7

      That was bad.... REALLY bad. Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?

      N 1 Reply Last reply
      0
      • N Nish Nishant

        Simon Walton wrote: Will his house burn down if he uses the functions incorrectly? If it did burn down, that'd be the least of his troubles. Nish My most recent CP article :- A newbie's elementary guide to spawning processes www.busterboy.org

        S Offline
        S Offline
        Simon Walton
        wrote on last edited by
        #8

        You mean somethng even worse than his house burning down will occur if he uses this functions incorectly? : Simon There's one for you, nineteen for me Sonork ID 100.10024

        1 Reply Last reply
        0
        • D dandy72

          Hi all, The lounge is probably not the best place to ask this question in (the C++ forum would probably be closer) but technically speaking this isn't strictly C++ related either. Anyhow, here goes... I got ahold of a DLL, released on the net, which was posted along with some "totally free-for-all" licensing info...as in, you're free to modify it, include it with your apps, redistribute it, etc. Fine. Only, there are no headers, no source, or docs of any kind with the DLL. Visual Studio's DEPENDS.EXE can list the exported functions, however I have no idea what the parameters or values returned are. Other than attempting to contact the author (which I've already done, I'm still waiting for a reply) how could I go about trying to figure out the interface to those exported functions? Looking for clues, - DanielD

          T Offline
          T Offline
          Todd Smith
          wrote on last edited by
          #9

          Get a decompiler.**

          Todd Smith

          CPUA 0x007 ... shaken not stirred

          **

          N 1 Reply Last reply
          0
          • C ColinDavies

            Daniel Desormeaux wrote: The lounge is probably not the best place to ask this question in (the C++ forum would probably be closer) Then why do you persist in asking it here ? Regardz Colin J Davies

            Sonork ID 100.9197:Colin

            Most people should stick to calculators, Isaac Sasson 28 th Law of Computing: Anything that can go wr# Segmentation violation -- Core dumped

            D Offline
            D Offline
            dandy72
            wrote on last edited by
            #10

            "Persist"? This is the first time I posted the question. "Persisting" implies I've been doing it repeatedly. I haven't. Did you actually read the question, or do you prefer to just post snide remarks and being generally unhelpful? Would you not agree that this is not strictly a C++ question, and an (accurate) answer would probably benefit more than just C++ programmers? In any case, you're getting your wish Colin--it's comments like these that discourage me from trying to get help from forums.

            C D 2 Replies Last reply
            0
            • T Tim Smith

              That was bad.... REALLY bad. Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #11

              Tim Smith wrote: That was bad.... REALLY bad. ROFLMAO Nish :laugh: My most recent CP article :- A newbie's elementary guide to spawning processes www.busterboy.org

              1 Reply Last reply
              0
              • D dandy72

                "Persist"? This is the first time I posted the question. "Persisting" implies I've been doing it repeatedly. I haven't. Did you actually read the question, or do you prefer to just post snide remarks and being generally unhelpful? Would you not agree that this is not strictly a C++ question, and an (accurate) answer would probably benefit more than just C++ programmers? In any case, you're getting your wish Colin--it's comments like these that discourage me from trying to get help from forums.

                C Offline
                C Offline
                ColinDavies
                wrote on last edited by
                #12

                Daniel Desormeaux wrote: "Persist"? This is the first time I posted the question. "Persisting" implies I've been doing it repeatedly. I haven't. I disagree, with your definition. You admitted The lounge is probably not the best place to ask this question in (the C++ forum would probably be closer) This was the incorrect place to ask the question, but you carried on and asked the question anyway, so you indeed persisted. It was a your words exactly that trapped you, the correct place to ask the question may have been in the "General" Forum. Daniel Desormeaux wrote: Did you actually read the question, or do you prefer to just post snide remarks Of course I read the question and I observed Nish answered it better than I could. "Snide remark", I don't think so, I asked you a simple question and you have not answered it, you have made an accusation. I don't want to discourage you to use the forums Daniel, I'd just like to encourage you to use the correct forum, possibly my reply should have suggested you use the General Forum to ask it, but I was bewildered by your initial comment. Best wishes Regardz Colin J Davies

                Sonork ID 100.9197:Colin

                Most people should stick to calculators, Isaac Sasson 28 th Law of Computing: Anything that can go wr# Segmentation violation -- Core dumped

                1 Reply Last reply
                0
                • T Todd Smith

                  Get a decompiler.**

                  Todd Smith

                  CPUA 0x007 ... shaken not stirred

                  **

                  N Offline
                  N Offline
                  Nish Nishant
                  wrote on last edited by
                  #13

                  Todd Smith wrote: Get a decompiler. or more precisely, a dis-assembler :-) Nish My most recent CP article :- A newbie's elementary guide to spawning processes www.busterboy.org

                  1 Reply Last reply
                  0
                  • D dandy72

                    "Persist"? This is the first time I posted the question. "Persisting" implies I've been doing it repeatedly. I haven't. Did you actually read the question, or do you prefer to just post snide remarks and being generally unhelpful? Would you not agree that this is not strictly a C++ question, and an (accurate) answer would probably benefit more than just C++ programmers? In any case, you're getting your wish Colin--it's comments like these that discourage me from trying to get help from forums.

                    D Offline
                    D Offline
                    David Fedolfi
                    wrote on last edited by
                    #14

                    Daniel Desormeaux wrote: it's comments like these that discourage me from trying to get help from forums. Did you ever think that reactions like these discourage people from providing help in forums?

                    C 1 Reply Last reply
                    0
                    • D dandy72

                      Hi all, The lounge is probably not the best place to ask this question in (the C++ forum would probably be closer) but technically speaking this isn't strictly C++ related either. Anyhow, here goes... I got ahold of a DLL, released on the net, which was posted along with some "totally free-for-all" licensing info...as in, you're free to modify it, include it with your apps, redistribute it, etc. Fine. Only, there are no headers, no source, or docs of any kind with the DLL. Visual Studio's DEPENDS.EXE can list the exported functions, however I have no idea what the parameters or values returned are. Other than attempting to contact the author (which I've already done, I'm still waiting for a reply) how could I go about trying to figure out the interface to those exported functions? Looking for clues, - DanielD

                      D Offline
                      D Offline
                      David Fedolfi
                      wrote on last edited by
                      #15

                      Daniel Desormeaux wrote: Other than attempting to contact the author (which I've already done, I'm still waiting for a reply) how could I go about trying to figure out the interface to those exported functions? Did you consider posting some details about the DLL you are trying to use? Maye someone else here uses it and has already figured it out.

                      1 Reply Last reply
                      0
                      • D David Fedolfi

                        Daniel Desormeaux wrote: it's comments like these that discourage me from trying to get help from forums. Did you ever think that reactions like these discourage people from providing help in forums?

                        C Offline
                        C Offline
                        ColinDavies
                        wrote on last edited by
                        #16

                        David Fedolfi wrote: Did you ever think that reactions like these discourage people from providing help in forums? Whilst I agree with you, I should have been more diplomatic in my initial reply to him, and provided a link that opened in a new window etc etc. I just couldn't understand how he admitted he was doing something wrong but continued to do it. :-) If someone helps me well in a forum, I insist on replying a BIG thankyou, I wonder how others feel about this. Actually I always feel stupid asking questions in forums, like I'm a fool for not knowing the answer, And its proven when someone gives me a link to MSDN or an article. :-( Regardz Colin J Davies

                        Sonork ID 100.9197:Colin

                        Most people should stick to calculators, Isaac Sasson 28 th Law of Computing: Anything that can go wr# Segmentation violation -- Core dumped

                        R 1 Reply Last reply
                        0
                        • S Simon Walton

                          Nish [BusterBoy] wrote: It's dangerous using the DLL if you are not sure of how it works or what it's meant for. Will his house burn down if he uses the functions incorrectly? Simon There's one for you, nineteen for me Sonork ID 100.10024

                          R Offline
                          R Offline
                          Roger Wright
                          wrote on last edited by
                          #17

                          Simon Walton wrote: Will his house burn down if he uses the functions incorrectly? Probably not, but the toaster oven may ring when he gets a phone call. They all talk together, you know, at night when we're asleep, plotting against us.

                          1 Reply Last reply
                          0
                          • C ColinDavies

                            David Fedolfi wrote: Did you ever think that reactions like these discourage people from providing help in forums? Whilst I agree with you, I should have been more diplomatic in my initial reply to him, and provided a link that opened in a new window etc etc. I just couldn't understand how he admitted he was doing something wrong but continued to do it. :-) If someone helps me well in a forum, I insist on replying a BIG thankyou, I wonder how others feel about this. Actually I always feel stupid asking questions in forums, like I'm a fool for not knowing the answer, And its proven when someone gives me a link to MSDN or an article. :-( Regardz Colin J Davies

                            Sonork ID 100.9197:Colin

                            Most people should stick to calculators, Isaac Sasson 28 th Law of Computing: Anything that can go wr# Segmentation violation -- Core dumped

                            R Offline
                            R Offline
                            Roger Wright
                            wrote on last edited by
                            #18

                            Colin Davies wrote: Actually I always feel stupid asking questions in forums, like I'm a fool for not knowing the answer, Me too, since this seems to be the only place anyone visits :laugh: Mine's been gathering moss for what seems like hours over there, while all the really bright people are hanging out here! Silly of me to even put it up:-O

                            1 Reply Last reply
                            0
                            • D dandy72

                              Hi all, The lounge is probably not the best place to ask this question in (the C++ forum would probably be closer) but technically speaking this isn't strictly C++ related either. Anyhow, here goes... I got ahold of a DLL, released on the net, which was posted along with some "totally free-for-all" licensing info...as in, you're free to modify it, include it with your apps, redistribute it, etc. Fine. Only, there are no headers, no source, or docs of any kind with the DLL. Visual Studio's DEPENDS.EXE can list the exported functions, however I have no idea what the parameters or values returned are. Other than attempting to contact the author (which I've already done, I'm still waiting for a reply) how could I go about trying to figure out the interface to those exported functions? Looking for clues, - DanielD

                              E Offline
                              E Offline
                              Eddie Velasquez
                              wrote on last edited by
                              #19

                              If you know assembly the IDA disassembler might help you figure out the functions interface.


                              Eddie Velasquez: A Squeezed Devil (Don't you just love that anagram craze?)

                              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