Enumerating Exports in a DLL...

This is a discussion on Enumerating Exports in a DLL... within the Windows Programming forums, part of the Platform Specific Boards category; Well, I just tried to post crap-assed code about importing a list of functions from a dll (the "old-fasion way"), ...

  1. #1
    Registered User minime6696's Avatar
    Join Date
    Aug 2001
    Posts
    267

    Question Enumerating Exports in a DLL...

    Well, I just tried to post crap-assed code about importing a list of functions from a dll (the "old-fasion way"), but Explorer Bomb'd out.

    So, I would love for someone to tell me how to enumerate the function'z in a DLL (as "Dependency Walker" doe'z that come'z with MSVC++).

    PLEASE Help! SPH

  2. #2
    Registered User M!ke's Avatar
    Join Date
    Apr 2002
    Posts
    3

    Re: Enumerating Exports in a DLL...

    Originally posted by minime6696
    [ell, I just tried to post crap-assed code about importing a list of functions from a dll (the "old-fasion way"), but Explorer Bomb'd out.
    HI !

    What's the "old-fashion way" in your opinion ?
    Actually you have to deal with PE-File Format.
    EXE files - as well as DLL files are using the PE
    format. Usually there is no documented way
    to use system level functions in user applications.
    Nevertheless Windows offers the Library
    "imagehlp.dll" which contains all necessary
    functions to deal with PE images. In particular
    you will need
    SymEnumerateSymbols()


    Originally posted by minime6696
    So, I would love for someone to tell me how to enumerate the function'z in a DLL (as "Dependency Walker" doe'z that come'z with MSVC++).
    Check the MSDN - there's source available.
    You should also check:

    http://www.microsoft.com/msj/default...197/newnav.htm




    Originally posted by minime6696
    PLEASE Help! SPH :confused: :confused: :confused: [/B]
    Tell me if there is anything else you'd like to know,
    I know the PE stuff quite well :-)
    In case you know how to give a memory mapped
    file as parameter in order to load a library, don't
    hesitate to tell me ! - That's the problem I'm
    currently facing !


    regards

    M!ke

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 07:11 AM
  2. Dll Exports Question
    By todd14 in forum Windows Programming
    Replies: 2
    Last Post: 09-20-2007, 11:49 AM
  3. dll communicating between each other
    By cloudy in forum C++ Programming
    Replies: 5
    Last Post: 06-17-2005, 02:20 AM
  4. DLL and std::string woes!
    By Magos in forum C++ Programming
    Replies: 7
    Last Post: 09-08-2004, 12:34 PM
  5. How to declare dl exports within dll cp?
    By joeyzt in forum C++ Programming
    Replies: 3
    Last Post: 05-15-2004, 04:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21