Check the file "corewin_express.vsprops" which is in
C:\Program Files\Microsoft Visual Studio 9.0\VC\VCProjectDefaults
It
It
AdditionalDependencie
It must have kernel32.lib
Main Topics
Browse All TopicsHi
i have just started on the basics of C++ and have already hit a snag with Visual C++ Command line compiler
i recieve this error LINK : fatal error LNK1104: cannot open file 'kernel32.lib' when trying to compile using the command line
this has worked fine on another PC running Vista and i have done a search and have found that i do have the kernel32.lib file on the PC in the Microsoft SDK folder in Program Files
any help appreciated
thanks
Matt
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Check the file "corewin_express.vsprops" which is in
C:\Program Files\Microsoft Visual Studio 9.0\VC\VCProjectDefaults
It
It
AdditionalDependencie
It must have kernel32.lib
test.cpp(5) : fatal error C1083: Cannot open include file: 'windows.h': No such
file or directory
is the error i try and get with this project, have tried fresh install of VC++ aswell, think it might just be time to bite the bullet and just use on my home PC rather than my work PC aswell
thanks fro your help
If you're using command prompt version, then the arguments should be something like this:
/OUT:"c:\YouExeFile.e
Business Accounts
Answer for Membership
by: Mortaza_doulatyPosted on 2009-04-19 at 05:57:58ID: 24178875
Have a look at your linker setting.
It sounds like it can not link with kernel32.lib