CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2002
    Posts
    131

    16 bit dll entry points

    I have a 16 bit dll and associated .lib and .map files. How do I find the entry points for the various functions. One is giving me a GPF but I cannot relate the address to a function entry point.

  2. #2
    Join Date
    Apr 1999
    Posts
    3,585
    From Platform SDK, try using:

    FARPROC GetProcAddress(
    HMODULE hModule, // handle to DLL module
    LPCSTR lpProcName // function name
    Gort...Klaatu, Barada Nikto!

  3. #3
    Join Date
    May 2002
    Posts
    131
    Sorry probably didn't make myself clear. I have the address of the GPF I need to analyze the Dll itself.

  4. #4
    Join Date
    Apr 1999
    Posts
    3,585
    Try using the Depends.exe program that comes with Visual C++. From within Windows Explorer, right click the mouse and select "view dependencies". The program will display entry points for the functions in the dll.
    Gort...Klaatu, Barada Nikto!

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

Featured