|
-
Nov 30th, 2001, 08:26 AM
#1
Thread Starter
New Member
Presenting a Dll Interface
I have a requirement where:
I need to allow a user to select a ActiveX Dll.
Having selected it I would like to present a list of public classes.
Having selected a class I would like to present a list of methods from that classs.
The user will then select a method and the name of method would added to another part of the GUI.
I am looking for some help/advice on how I can read the interface of a dll. A bit like the object browser in the VB.IDE.
-
Dec 1st, 2001, 01:23 PM
#2
Hyperactive Member
type lib info
Microsoft has made a COM dll, tlbinf32.dll, that helps with the enumeration and registration of type libraries.
MSDN has the help file for this:
http://msdn.microsoft.com/isapi/gosu.../Q224/3/31.ASP
I also assembled one of the examples programs that enumerates a type lib (see attachment). The only trick for you will be to dig through the registry to find the active type libraries, unless you already have a list of the files you would like to invesigate (then it's super easy).
-scott
he he he
-
Dec 1st, 2001, 01:24 PM
#3
-
Dec 3rd, 2001, 04:46 AM
#4
Thread Starter
New Member
-
Dec 3rd, 2001, 11:04 PM
#5
Hyperactive Member
thanks!
-scott
he he he
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|