My program is supposed to count the number & names of processing currently running on a windows NT 4 workstation.
I am using PdhEnumObjectItems to get this information.
For some reason the information returned is only correct for the first call to this function. Subsequent calls always return the same number of processes even if the number of processes has changed. Any ideas.