i intend to make a program like task manager.
so i want to get process name & ID to run on window right now.
i searched sample code and did it, my working is bad.
i used GetWindowThreadProcessId, getWindow, getnextwindow api function, it doesnt work fine.
could you show me another idea or code to write for it?