Results 1 to 8 of 8

Thread: How can I view a Dll`s functions?

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2001
    Posts
    46

    How can I view a Dll`s functions?

    I have a dll file that I think it does the work I want to do in my project. But the file is not popular (such as gdi32 or user32), so there`s no article or tutorial online or in a book, and I don`t know much about it, except its functions (I find them in the "Imported functions table" of an application). And you know, I must know the arguments of the functions to use in my project. I haven`t got its type library and can`t add it to "References" in VB. Is there a way to view its functions and properties like VB`s Object Browser?
    Please help

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    If it's exporting functions it's not a COM DLL (the only type where you can use the object browser). You can easily get the function name and the TOTAL size of the arguments required, but you can't get the individual parameters. What DLL is it?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    YOu can view the names of the functions in the DLL by using a utility like Dependancy Walker (comes with VC++) but that is all. You can't see the parameters.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  4. #4

    Thread Starter
    Member
    Join Date
    Jul 2001
    Posts
    46
    You both faster than jet engines, mates

    Parksie:
    What dll is it?
    AGM.DLL of Adobe

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Sorry mate, unless you have specific information on how to use the functions (not to mention any Types needed) you're basically stuck.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6
    TheSarlacc
    Guest
    there is also a DOS program called viewdll.com and it allows u to check what DLL's a EXE uses. thought it may be useful if i told ya.

  7. #7

    Thread Starter
    Member
    Join Date
    Jul 2001
    Posts
    46
    Thanks for all of your replies, mates.

    Please excuise me for my little knowledge about dlls.

    So, is there anyway to find the type library of agm.dll . Cause I really need to use its functions.

    Thanks for your replies again.

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Standard DLLs have no type library. In this case there is nothing you can do.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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