|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
undocumented dlls
I'm trying to find out how to determine the function arguments in an undocumented dll. The company I work for has a proprietary dll that I need to "hack" into, determine how to use it. I can get the function (or method) names from depend.exe (included with MS Visual Studio), but this neat little tool doesn't show me the function's parameters to use. Is this impossible? I've been searching the web for a couple of hours trying to find it.
I tried adding it to "Project->References" in VB6 and it gives an "unable to add reference" error message. Also there is no DllRegisterServer shown in Depend, so I'm assuming this is a straight Win32 dll, not an activeX dll, right? I don't know very much about dll's, just that they are effectively libraries of functions, compiled and relocatable. I guess that activeX dll's are more... but I don't know how. Any info is appreciated. Greg |
|
#2
|
||||
|
||||
|
If it was written in C, then you should be able to view it's header file that you would include with a C/C++ project.
Other than that, I don't know of any immediate way to do this. |
|
#3
|
||||
|
||||
|
You can potentially guess the param types (but not the names) from the function name. See question 2 in this FAQ:
http://www.dependencywalker.com/faq.html
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#4
|
||||
|
||||
|
That is very interesting.
Thanks for the link. |
|
#5
|
|||
|
|||
|
Fine!Scorpions4ever!Every thing is possible!..
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > undocumented dlls |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|