Thread: More on DLL's

  1. #1
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709

    More on DLL's

    I was just thinking, is it possible to list all the functions in a given DLL?
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  2. #2
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    dumpbin /EXPORTS dllproj.dll

  3. #3
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    You can get a list of function names, but you can't get a list of the parameters they take.

  4. #4
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    That's the only problem - I was just about to reply about it. Anyone know of a way to solve this? AFAIK Visual Studio Depends doesn't list the parameters either (unless I'm not using it properly).
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  5. #5
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    No, you can't get that information from the dll has bithub has explained. At best you may be able to get the total number of bytes in parameters passed to a function but, without knowing the number and types of parameters, this is next to useless.

    Only the lib documentation will give you the information you want - or, perhaps, a lot of laborious empirical investigation.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  6. #6
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    If you really need detailed info such as calling syntax, return values etc. on DLL's, then check out a commercial product call PE Explorer.

    IMO, the docs are just as good if not better AND they're free.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Some doubts on DLLs
    By BrownB in forum Windows Programming
    Replies: 1
    Last Post: 05-30-2007, 02:25 AM
  2. standart dlls
    By keeper in forum C++ Programming
    Replies: 3
    Last Post: 07-05-2006, 07:32 PM
  3. Can't load string from resource DLL's string table
    By s_k in forum Windows Programming
    Replies: 4
    Last Post: 07-15-2003, 06:43 AM
  4. question about DLL's and class functions
    By btq in forum Windows Programming
    Replies: 2
    Last Post: 02-25-2003, 06:08 AM
  5. DLLs <- sound files, and nesting.
    By sean in forum C++ Programming
    Replies: 2
    Last Post: 10-28-2002, 05:13 PM