Michael Garcia
2011-02-22 16:36:11 UTC
Hi,
I'm trying to use GetProcessMemoryInfo() to get memory usage for my app. I
include psapi.h and -lpsapi when I link but I get the error message:
undefined reference to '***@12'
I use other Win API methods like GetCurrentProcessId() and OpenProcess() and
those don't generate link errors. Any idea what I might be doing wrong?
Thanks,
-Mike
I'm trying to use GetProcessMemoryInfo() to get memory usage for my app. I
include psapi.h and -lpsapi when I link but I get the error message:
undefined reference to '***@12'
I use other Win API methods like GetCurrentProcessId() and OpenProcess() and
those don't generate link errors. Any idea what I might be doing wrong?
Thanks,
-Mike