error RC2104: undefined keyword or key name: DS_SETFONT

前端 未结 1 764
-上瘾入骨i
-上瘾入骨i 2021-01-14 13:26

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

相关标签:
1条回答
  • 2021-01-14 13:40

    When the solution is generated, it removes #include <windows.h>.

    Simply adding #include <windows.h> will fix it.

    In my case, I added it in the *.rc file.

    0 讨论(0)
提交回复
热议问题