App or DLL Load address

This is a discussion on App or DLL Load address within the Windows Programming forums, part of the Platform Specific Boards category; Is there way to find the address of memry where an application or dll is stored when loaded? Also is ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Location
    Fort Worth, TX
    Posts
    53

    App or DLL Load address

    Is there way to find the address of memry where an application or dll is stored when loaded? Also is there a means to extract this data at the begining of the application or dll. I am looking to increase a debugging feature and I need the start address so I can do the math to get the correct statement when I do a object dump.

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    hmmm.....

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Lookup the HINSTANCE variable that's passed to a DllMain or WinMain.

    EnumProcessModules might also be of interest

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DLL question
    By cboard_member in forum Game Programming
    Replies: 1
    Last Post: 04-24-2006, 02:19 AM
  2. DLL Function / Load Library Problem
    By cboard_member in forum Windows Programming
    Replies: 5
    Last Post: 12-10-2005, 09:11 AM
  3. Load dll at runtime in unix
    By bennyandthejets in forum C++ Programming
    Replies: 2
    Last Post: 11-25-2005, 04:20 AM
  4. Linking MFC dll to .NET app
    By Raptor in forum C++ Programming
    Replies: 2
    Last Post: 08-01-2005, 08:49 AM
  5. doubly linked lists
    By cworld in forum C++ Programming
    Replies: 2
    Last Post: 04-21-2002, 09:33 AM

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