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
Solved

Imp DLL with function names and params ?

Posted on 1997-09-26
1
329 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

792 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