c++ - Printing the current processes running on Windows -


i have used following code print current running processes on windows. https://msdn.microsoft.com/en-us/library/windows/desktop/ms682623%28v=vs.85%29.aspx
code doesn't system processes. says "unknown" there. have cross checked task manager. process' names printed in task manager.
have included
#pragma comment(lib, "psapi.lib") too.
still not working.
helps?

you need give admin privileges program done.


Comments