Solved

Imp DLL with function names and params ?

Posted on 1997-09-26
1
299 Views
Last Modified: 2008-03-06
When I import a DLL, like with implib or impdef in Borland C++, I can use that DLL, but let's say it's not my own DLL like a Windows DLL, so, I don't know the functions parameters and the parameters type.
How could I get the informations.
Wrong answers are:
-read the doc
-ask the authors
-make the functions yourself

let's resume:
I would be able from a simple DLL to get the functions
that are inside, the parameters of those functions and
the types of those parameters.

thanks in advance.

      John.
0
Comment
Question by:jeurk
1 Comment
 

Accepted Solution

by:
igork earned 100 total points
ID: 1170417
Hi John,
I am afraid that right answer on your question should be NO - of course if you don't want to try to disassembler DLL. Only export function names are kept in DLL files - not parameters and not intrinsic names.

Additional comment. If you have .obj file, and source was C++, and extern "C" keyword wasn't applied, function names will be decored according to C++ names convention and one CAN determine the number and types of parameters. So only if someone who has written DLL on C++ were used internal names as export names you would be able to determine parameters. E.g. @foo$qi is equivalent to foo(int) in source code. But usually nobody do so...

Regards,
IgorK.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now