Reputation: 392
When I attempt to compile a MFC project I get told I need to include this file. What and where is it? Why do I need it?
Upvotes: 1
Views: 2204
Reputation: 941455
It's a rather important Windows SDK header file, the very first one that gets #included in <windows.h>
. It declares Windows version numbers, the kind you should use in your program that states what version of Windows you want to be compatible with. The MSDN Library article is here.
If this file is actually missing on your machine (it isn't clear from the question) then you've either got a very old SDK version and are mixing headers (very bad) or you've got some disk damage (very very bad). It is the kind of problem you'd get when you are stuck on an ancient version of Visual Studio and are trying to use modern Windows api functions. Do not mix and match, it won't come to a good end.
Upvotes: 2