Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2005, 13:27
Mitchjs
 
Posts: n/a
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
Reply With Quote
  #2  
Old 12-14-2005, 14:57
babar0ga
 
Posts: n/a
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.
Reply With Quote
  #3  
Old 12-14-2005, 15:46
Mitchjs
 
Posts: n/a
vtable entry(position) ?

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

mitch
Reply With Quote
  #4  
Old 12-15-2005, 01:38
babar0ga
 
Posts: n/a
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.
Reply With Quote
  #5  
Old 12-15-2005, 03:16
Mitchjs
 
Posts: n/a
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
Reply With Quote
  #6  
Old 12-15-2005, 05:45
babar0ga
 
Posts: n/a
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


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


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


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )