wrote that for NT I must distribute psapi.dll and VDMDBG.DLL with my application and call PSAPI function EnumProcesses for this. The C sample provided in this article is extremely complicated.
Is there any free VFP sample code for this ?
>The CreateToolhelp32Snapshot and other API functions you mentioned are for Win9*/Me OS. > >For Windows NT/XP/2000 use another set of API functions: >CloseHandle >EnumProcesses >EnumProcessModules >GetModuleBaseName >GetModuleFileNameEx >OpenProcess > >FoxPro sample code (members area): > >Enumerating Processes -- WinNT >http://www.news2news.com/vfp/?example=162 > >Enumerating Processes -- Win9* >http://www.news2news.com/vfp/?example=164