- May 1, 2012
- 21
- 0
- 61
Hello everybody.
I would like to know a way to see the functions that are provided by a DLL by just analyzing the DLL file. Does anybody know how to do this? (Background of the problem at the end)
So far I have tried
from the VCC console and it gives me something like:
So I can see that Function1 and Function2 are implemented by the myDLL.dll file. I dont know what @4 or @0 means but maybe number of parameters? I would like to know the type of parameters and the type of return value as well.
Any help will be greatly appreciated
Kansai
--
Background: I have inherited a system in my company (a physical system that is) which is controlled by a program but the sources got lost (I know, disorganized company but what can I do?). and have been ordered to use this and write a program to control it. Analyzing what I have I found some dlls that seem to control the physical parts of the system (motors , etc) so there is a problem of finding out how to use these dlls without any prior documentation:hmm:
I would like to know a way to see the functions that are provided by a DLL by just analyzing the DLL file. Does anybody know how to do this? (Background of the problem at the end)
So far I have tried
Code:
dumpbin /export myDLL.dll
from the VCC console and it gives me something like:
Code:
ordinal hint RVA name
1 0 00024B0 _Function1@4
2 1 00024E0 _Function2@0
.....
So I can see that Function1 and Function2 are implemented by the myDLL.dll file. I dont know what @4 or @0 means but maybe number of parameters? I would like to know the type of parameters and the type of return value as well.
Any help will be greatly appreciated
Kansai
--
Background: I have inherited a system in my company (a physical system that is) which is controlled by a program but the sources got lost (I know, disorganized company but what can I do?). and have been ordered to use this and write a program to control it. Analyzing what I have I found some dlls that seem to control the physical parts of the system (motors , etc) so there is a problem of finding out how to use these dlls without any prior documentation:hmm: