Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Feb : Get exec file path of another process?

www.cryer.info
Managed Newsgroup Archive

Get exec file path of another process?

Subject:Get exec file path of another process?
Posted by:"Jim Rowell" (x@y.com)
Date:Tue, 28 Feb 2006 11:32:39 -0500

I need to identify a process by its exec path on win2K/xp.

GetWindowModuleFileName only works from within your own process on 2K/xp.
I've tried using AttachThreadInput followed by GetWindowModuleFileName but I
either get no path or I get my own process's path.

Any ideas?

--
Jim Rowell

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive