If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > GetProcessIoCounters() Problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-08-05, 09:32
itaihor itaihor is offline
Registered User
 
Join Date: Nov 2005
Posts: 1
GetProcessIoCounters() Problem

Hi,

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 !
Reply With Quote
  #2 (permalink)  
Old 04-20-10, 14:21
perrito perrito is offline
Registered User
 
Join Date: Apr 2010
Posts: 1
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On