Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Program unable to link "PSAPI.lib" Query?

469 views
Skip to first unread message

lin su

unread,
May 13, 2004, 6:19:55 AM5/13/04
to
Hi Guys
I have a downloaded a win32 API program that works for Win 95/98/NT.
The download archive contained a project workspace for VC++ 6.0

When i opened the program with VC++ 6.0 & tried to compile the program it
gave me the following error:

LINK: fatal error LNK1181: cannot open input file "psapi.lib".

Going through the Project settings i found out that in the
Project Settings->Link Tab - General Category.
In the Object/library modules following libraries were listed:

comctl32.lib psapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
odbc32.lib odbccp32.lib.

On searching these libraries all the libraries except <psapi.lib> were
present in the following path:
C:\Program Files\Microsoft Visual Studio\VC98\Lib

How come psapi.lib is missing. My OS is 2k Professional.

From where can i get this library. Is there any problem with my Visual
Studio.

Waiting for suggestions

Regards
mathu

Simon Jefferies

unread,
May 13, 2004, 6:47:28 AM5/13/04
to
Hello,

The PSAPI.LIB file is part of the Platform SDK, this can be found here:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

All versions of .NET come with the Platform SDK, whereas Visual Studio 6 is
a separate download.

Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:sim...@headfirst.co.uk
www.callofcthulhu.com www.deadlandsgame.com
-
"lin su" <davin...@rediffmail.com> wrote in message
news:%23zIw5PN...@TK2MSFTNGP12.phx.gbl...

0 new messages