I am starting to learn about the Windows API. So I opened up Microsoft Visual C++ and created a new project. I chose Win32 project and it started up. I then clicked build an
When the solution is generated, it removes #include <windows.h>.
#include <windows.h>
Simply adding #include <windows.h> will fix it.
In my case, I added it in the *.rc file.