Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2005

    Unanswered: GetProcessIoCounters() Problem


    I'm trying to use GetProcessIoCounters(). I've included the windows.h file (as MSDN says) and Kernel32.lib is in my link-settings too.
    But when running the program I get the next error:

    error LNK2001: unresolved external symbol __imp__GetProcessIoCounters@8

    I cant understand why!!!

    (I'm using visual studio 6 on windows XP.)

    Please H E L P !

  2. #2
    Join Date
    Apr 2010
    You must link the "psapi.lib" library at your IDE and ready, it must compile

    If you are using VS 2008 C++, you must go
    Project Properties -> Linker -> Input
    and write psapi.lib.

    Regards from Peru

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts