Board index » cppbuilder » DLL functions ?

DLL functions ?


2005-08-20 02:28:10 AM
cppbuilder18
Hello,
How can find list of DLL functions ?
Best regards,
M.T
 
 

Re:DLL functions ?

"Sasan" < XXXX@XXXXX.COM >wrote in message
Quote
How can find list of DLL functions ?
Your question is a bit vague. Please clearify. What EXACTLY do you want?
Gambit
 

Re:DLL functions ?

Quote
How can find list of DLL functions ?
Hello,
You can use the IMPDEF.EXE command line-utility to list the "_exported"
funtions of a DLL file. It only gives you the funtion names; not the
functions' argument list. Don't know if this is what you're asking or not.
Syntax:
IMPDEF.EXE def-filename.def dll-filename.dll
function list will be output to <def-filename.def>
James OBrien
 

{smallsort}

Re:DLL functions ?

Thanks,
but how can get definition of functions complete ,
that include function name, arguments, return value ?
regards,
M.T
"James O'Brien" < XXXX@XXXXX.COM >wrote in message
Quote
>How can find list of DLL functions ?

Hello,

You can use the IMPDEF.EXE command line-utility to list the "_exported"
funtions of a DLL file. It only gives you the funtion names; not the
functions' argument list. Don't know if this is what you're asking or
not.

Syntax:
IMPDEF.EXE def-filename.def dll-filename.dll

function list will be output to <def-filename.def>

James OBrien



 

Re:DLL functions ?

Sasan wrote:
Quote
but how can get definition of functions complete ,
that include function name, arguments, return value ?
You can't. The only way is to ask the guy who created the dll for a .h
file containing the functions declaration.
Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
www.leunen.com/
----------------------------------------
 

Re:DLL functions ?

"Sasan" < XXXX@XXXXX.COM >wrote in message
Quote
but how can get definition of functions complete ,
You cannot. That information is not stored anywhere. The only thing that
is available is the function name, and even then only for those functios
that are publically exported by name.
Gambit
 

Re:DLL functions ?

"Michel Leunen" < XXXX@XXXXX.COM >wrote in message
Quote
The only way is to ask the guy who created the
dll for a .h file containing the functions declaration.
Or decompile and analyze the DLL's assembly code manually.
Gambit