Subj : Re: Process To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Fri Oct 03 2003 04:44 pm You have help for those functions Start the Windows API help. If you have trouble with that then open File Manager/Windows Explorer, find WIN32.HLP and double click on the file name. Select Index In the edit control type Process32First (or CreateToolhelp32Snapshot or any of the other functions) Click the Display button For help on the web go to the Microsoft Development Network (MSDN) site http://msdn.microsoft.com/library/default.asp Enter the word in the "Search for" edit control at the top left Click the Go button .. Ed > Jeff Kish wrote in message > news:ljjrnvgs4l76a9p3fttrlkku2f5q4731gg@4ax.com... > > >Ed Mulroy 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? .