I'm currently making a function to check whether a process is running, but somehow I can't include psapi.h. I'm using the newest release of code::blocks, (so not the nightly builds), and I have Windows XP. I've read a lat off stuff on the internet about including psapi. But it keeps on returning reeeeeeeally long errors.
I've tried to include it with:
#include "psapi.h"
Hoping that the MingW compiler would fix it for me, but it kept on returning errors.