Solved

Retrieve parameters for function in a compiled DLL

Posted on 2004-04-20
3
495 Views
Last Modified: 2013-12-03
Is there any way to retrieve parameters of non-documented function, residing in a DLL, not having the source code of the DLL?
DLL is probably written in VC++
0
Comment
Question by:zlatev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Accepted Solution

by:
aib_42 earned 250 total points
ID: 10867576
The only way I can think of would be reverse engineering the DLL.
Actually, some exported DLL functions have a @x in their name at the end, where x is the total number of bytes the DLL takes as parameters.

Again, this is not really much help, but I am going to recommend just searching more and more for the inofficial documentation of the function. Or reverse engineer (debug/disassemble) the DLL.
0
 
LVL 86

Assisted Solution

by:jkr
jkr earned 250 total points
ID: 10868545
>>Is there any way to retrieve parameters of non-documented function, residing in a DLL, not having
>>the source code of the DLL?

Plain, simple and painless: No.
0
 
LVL 8

Author Comment

by:zlatev
ID: 10868678
I see
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question