Solved

Retrieve parameters for function in a compiled DLL

Posted on 2004-04-20
3
497 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:Zlatin 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:Zlatin Zlatev
ID: 10868678
I see
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

636 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