Subj : Re: Process To : borland.public.cpp.borlandcpp From : "mike" Date : Sat Oct 04 2003 10:47 pm Thanks Ed. These functions worked great and i've completed my win32 GUI application. it now functions like task manager and i can kill all the processes my applications spawns with 1 click as i added in some hooks =) thanks for your help!!! mike "Jeff Kish" wrote in message news:ljjrnvgs4l76a9p3fttrlkku2f5q4731gg@4ax.com... > On Wed, 20 Aug 2003 06:35:26 -0400, "Ed Mulroy [TeamB]" > wrote: > > >I assume that this is for a Win32 program. > > > >Look at the tool help functions. If you call CreateToolhelp32Snapshot then > >Process32First and then loop on calls to Process32Next you will be able to > >see all the processes along with their file names. > > > >. Ed > > > >> mike wrote in message > >> news:3f431953@newsgroups.borland.com... > >> > >> is there any API call that will give you a process id if you > >> know the name of the executable? for example, if you run > >> an application like microsoft outlook then outlook.exe > >> appears in the proccess list. is there a way to find the > >> process id of outlook.exe? > > > Ed, > > I can't seem to find any documentation on these (even on the web?). > Can you point me to some? > Thanks > > Jeff Kish .