Thread: App or DLL Load address

  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
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    hmmm.....

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    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, 10:11 AM
  3. Load dll at runtime in unix
    By bennyandthejets in forum C++ Programming
    Replies: 2
    Last Post: 11-25-2005, 05: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