Results 1 to 5 of 5

Thread: Presenting a Dll Interface

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Location
    In a house on a hill.
    Posts
    10

    Question 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.

  2. #2
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327

    Cool 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

  3. #3
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327

    Talking ack - attachment...

    here's the attachment
    Attached Files Attached Files
    -scott
    he he he

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Location
    In a house on a hill.
    Posts
    10

    Thumbs up Thanks....

    Thanks Muchly

    Thats exaclty what I was looking for.

    Probably the best responce I have ever had from any on-line discussion.


  5. #5
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327

    Smile thanks!

    glad I could help!
    -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
  •  



Click Here to Expand Forum to Full Width