How to retrieve the EXE filenames of running processes
This version is Windows 9x only. There is a different method for Windows NT.
Check out the Links page for Karl Peterson's
site. He has a sample that works with NT.
Uses the following API functions:
- CloseHandle
- CreateToolhelp32Snapshot
- Process32First
- Process32Next
Back to Code Samples
Copyright © 2000 by Matt E. Hart, All Rights Reserved Worldwide.
Nothing on this web site may be reproduced, in any form, without express written consent.