'user32.lib': No Such File or Directory [Solved]
ok so im new to c++ trying to make a program and it ceeps coming up with that error...
i have added...
#include <windows.h>
#include <User32.lib>
and in the VC ++ directory thing i have also added:
E:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib
F:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib
E:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\x64
have also checked in the folder for User32.lib and it's in there.
i am stumped.. and help please?
thanks
edit:
Build log:
Code:
Build Log
Build started: Project: Swndkeys, Configuration: Debug|Win32
Command Lines
Creating temporary file "f:\Users\Craig\Documents\Visual Studio 2005\Projects\Swndkeys\Swndkeys\Debug\RSP00001735561744.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /FD /EHa /MDd /Yu"stdafx.h" /Fp"Debug\Swndkeys.pch" /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Zi /clr:pure /TP /FU "f:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll" /FU "f:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll" /FU "f:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll" /FU "f:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll" /FU "f:\Windows\Microsoft.NET\Framework\v2.0.50727\System.XML.dll"
".\Swndkeys.cpp"
]
Creating command line "cl.exe @"f:\Users\Craig\Documents\Visual Studio 2005\Projects\Swndkeys\Swndkeys\Debug\RSP00001735561744.rsp" /nologo /errorReport:prompt"
Output Window
Compiling...
Swndkeys.cpp
f:\users\craig\documents\visual studio 2005\projects\swndkeys\swndkeys\Form1.h(5) : fatal error C1083: Cannot open include file: 'User32.lib': No such file or directory
Results
Build log was saved at "file://f:\Users\Craig\Documents\Visual Studio 2005\Projects\Swndkeys\Swndkeys\Debug\BuildLog.htm"
Swndkeys - 1 error(s), 0 warning(s)