Results 1 to 7 of 7

Thread: Checking Functions In a Dll

  1. #1

    Thread Starter
    Hyperactive Member Blacknight's Avatar
    Join Date
    Nov 2002
    Posts
    381

    Checking Functions In a Dll

    How do I check which functions are in a dll I don't who's contents are unknown to me? I am looking to use a certain function and I have a couple of dlls and I don't know in which one it is are its name. So i need to be able to show all function available in a dll and their parameters.
    Thanks

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Checking Functions In a Dll

    Is this a .NET assembly, a COM component or neither?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member Blacknight's Avatar
    Join Date
    Nov 2002
    Posts
    381

    Re: Checking Functions In a Dll

    I think a .Net assembly, but does it matter?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Checking Functions In a Dll

    Quote Originally Posted by Blacknight View Post
    I think a .Net assembly, but does it matter?
    Probably wouldn't have asked the question if it didn't matter.

    Are you looking to interrogate this assembly in code at run time, or do you want to just look inside it during development? If it's the former then you would use reflection in code. If it's the latter then you can use the .NET Reflector tool, which will use reflection, along with other tricks, to rebuild the VB or C# source code from a compiled assembly.

    http://www.red-gate.com/products/reflector/
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Hyperactive Member Blacknight's Avatar
    Join Date
    Nov 2002
    Posts
    381

    Re: Checking Functions In a Dll

    I am just looking for a certain function which I know exists in one of the dlls. Once I find it i want to use it in my code.

    So my aim isn't a code which does this if can done be done by a program already built.

  6. #6
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Checking Functions In a Dll

    Did you even click on the link by jmc? Look, a product!

  7. #7

    Thread Starter
    Hyperactive Member Blacknight's Avatar
    Join Date
    Nov 2002
    Posts
    381

    Re: Checking Functions In a Dll

    yeah...didn't notice the link, thanks jmc

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