Mosh, Please link MinGW libpsapi.a also How can I link these libraries without copying the to working directory ? -Lc:\hb32\comp\mingw\lib\ -llibversion is ignored. I recently reported it to Viktor, but he seems not to agree to have the libs in a different folder from the standard path ...