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
Printable View
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
New subject says it all! Attached the form below if anyone's interested.
-adehh
well i downloaded the form just to see what it is cuz im a n00b at vb and it says i need psapi.dll
I think that DLL is shipped with Win NT 4.0+ only, not sure.
-adeh