#1
|
|||
|
|||
entry point to function in comobj/activex dlls
Question, how do i find where the code starts for each method/property in a activeX dll?
i see the methods/props in typelib explorer, but i dont no where the code is for each one... thanks mitch |
#2
|
|||
|
|||
First, with your's type lib explorer find out vtable entry(position) of method in question.
Then, make an instance of object you are interested in and you'l get your self a pointer to vtable. After that, just count... Regards. |
#3
|
|||
|
|||
vtable entry(position) ?
i know dispatch id, but i dont think that is what u mean mitch |
#4
|
|||
|
|||
In case you have Visual Studio 6 installed try using at tlbinf32.dll for information about type libraries(including vtable pos.)...
There is even help file for that dll so it shouldn't be hard to figure it out. If you don't have it try looking at h++p://www.microsoft.com/msj/0399/comtype/comtype.aspx In that article Matt Pietrek has provided the way of generating map file for easier debugging of com objects... Hope I was more helpful this time. |
#5
|
|||
|
|||
YES!!! i got them!!! with his little utility!
THANK YOU! now to do what must be done on another note, i do have vs6 installed didnt find tlbinf32.dll... mitch |
#6
|
|||
|
|||
Glad to help.
Regarding tlbinf32.dll, it seams it's installed only with VB6(in system32 dir). Quote:
Regards. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I move Entry Point to the middle of the codz ? | netxman | General Discussion | 11 | 11-23-2005 08:51 |
how to get the address of the entry point in an API | Warren | General Discussion | 6 | 08-30-2005 16:18 |
Is it possable breakpoint on entry point of DLL | jadesk99 | General Discussion | 17 | 01-18-2004 12:08 |
How to make sure this is really the Entry Point | merursinecury | General Discussion | 7 | 04-13-2003 08:20 |