home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / win32 / 2748 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!gatech!concert!sas!mozart.unx.sas.com!saswta
  3. From: saswta@terrapin.unx.sas.com (Bill Arnette)
  4. Subject: Determining path of loaded DLL from debugging process
  5. Originator: saswta@terrapin.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <C0I2v2.12F@unx.sas.com>
  8. Date: Thu, 7 Jan 1993 20:13:50 GMT
  9. Nntp-Posting-Host: terrapin.unx.sas.com
  10. Organization: The Village
  11. Lines: 13
  12.  
  13.  
  14. I am writing a cross-environment debugger for Windows NT.  When a DLL is loaded
  15. by the process being debugged, the kernel is notified via a LOAD_DLL_DEBUG_EVENT 
  16. which includes, among other information, an open file handle for the DLL file.
  17. I need to know the fully qualified path from which the DLL was loaded.  Does
  18. anybody know how I can get the path name of the loaded DLL, or failing that, know
  19. how I can determine the name of a file given a file handle?
  20.  
  21. Thanks in advance,
  22. Bill
  23. -- 
  24. Bill Arnette, SAS Institute Inc.  (919)677-8000x6193  | saswta@unx.sas.com
  25. SAS Campus Drive, Cary, NC 27513  (919)677-8123(fax)  | ...!mcnc!sas!saswta
  26.