Figuring out DLL APIs...
-
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
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
-
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
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?
-
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
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
-
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
Get a decompiler.**
Todd Smith
CPUA 0x007 ... shaken not stirred
**
-
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
"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.
-
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?
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
-
"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.
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
-
Get a decompiler.**
Todd Smith
CPUA 0x007 ... shaken not stirred
**
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
-
"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.
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?
-
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
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.
-
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?
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
-
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
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.
-
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
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
-
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
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?)