I am receiving the following errors in my win32 api code in devc++:
[Linker error] undefined reference to `EnumProcessModules@16'
[Linker error] undefined reference to `GetModuleFileNameExA@16'
ld returned 1 exit status
How can I solve this problem? I tried using
#pragma comment(lib, "psapi.lib")
since it was a linker issue but it did not help whatsoever.