hmm, the last thread with this code must have been lost as I posted working version but can't now find it. to get you started here is:
.. see below
now you need to create a new processentry32 struct, assign dwSize to sizeof(processentry32), rename your Process functions to Proces32 and you should be away...
.. see below
now you need to create a new processentry32 struct, assign dwSize to sizeof(processentry32), rename your Process functions to Proces32 and you should be away...