|
-
Sep 26th, 2000, 07:48 AM
#1
Is it possible to retrieve the names of functions that a DLL has to offer if I don't have the documentation for that DLL?
Sunny
-
Sep 26th, 2000, 09:29 AM
#2
I don't know the answer. I tried adding a dll to the reference list of VB6 (SP3) but it wouldn't.
This response is really to get notified if anyone else knows the answer.
Good Luck
DerFarm
-
Sep 26th, 2000, 09:29 AM
#3
Guru
You can use the PE (Portable Executable) API in ImageHlp.dll to achieve this.
A good example may be found by clicking this smily: 
-
Sep 26th, 2000, 09:29 AM
#4
Hyperactive Member
View Dependencies
When you are in Windows Explorer, and you click with the right mouse button on the DLL you will see "View Dependencies" in the list(if you have installed, if not ask me for)and click it. In that program, you have to see in the list with "Functions" above it. These are the aliases for the available functions for that DLL.
WP
-
Sep 26th, 2000, 02:54 PM
#5
The program is called Depends (or Dependency Walker).
You can also use a Hex Editor for this.
-
Sep 26th, 2000, 06:21 PM
#6
Thanks! Greatly appreciated
Sunny
-
Sep 26th, 2000, 10:45 PM
#7
Is it also possible to get the arguments needed by a function?
Sunny
-
Sep 27th, 2000, 06:30 AM
#8
Guru
When calling a function, the arguments are pushed into the stack.
Every function pops as many arguments as it wants to pop from the stack.
Only if you have documentation, you can know how many arguments.
At least that's what I read.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|