Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   entry point to function in comobj/activex dlls (https://forum.exetools.com/showthread.php?t=8626)

Mitchjs 12-14-2005 13:27

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

babar0ga 12-14-2005 14:57

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.

Mitchjs 12-14-2005 15:46

vtable entry(position) ?

i know dispatch id, but i dont think that is what u mean

mitch

babar0ga 12-15-2005 01:38

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.

Mitchjs 12-15-2005 03:16

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

babar0ga 12-15-2005 05:45

Glad to help.

Regarding tlbinf32.dll, it seams it's installed only with VB6(in system32 dir).
Quote:

Tlbinf32.exe is a file that contains the HTML Help file for the TypeLibInformation object (TLI), which is implemented in the Tlbinf32.dll file shipped in the Visual Studio 6.0 and Visual Basic 6.0 CDs.
Anyway, Matt's way is good and should be used...

Regards.


All times are GMT +8. The time now is 14:38.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX