Results 1 to 4 of 4

Thread: Process image\exe names - resolved!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    UK
    Posts
    506

    Process image\exe names - resolved!

    If i've obtained the handle of a process using GetForegroundWindow, how would I then return the EXE or 'image name' of that process?

    Would I have to use EnumProcessModules or is there another, simpler method?

    Cheers.
    -adeh
    Last edited by adzzzz; Jul 31st, 2003 at 09:37 PM.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    UK
    Posts
    506
    New subject says it all! Attached the form below if anyone's interested.
    -adehh
    Attached Files Attached Files

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Location
    Dallas, TX
    Posts
    21
    well i downloaded the form just to see what it is cuz im a n00b at vb and it says i need psapi.dll

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    UK
    Posts
    506
    I think that DLL is shipped with Win NT 4.0+ only, not sure.
    -adeh

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