Trying to compile a project - errors #135
-
I'm sorry, I'm a beginner. I added the "wil" library to the project, which eliminated some of the errors. Now the undeclared identifiers remain in the Effect Helper.hpp file: DWM_SYSTEMBACKDROP_TYPE, DWMSBT_NONE, DWMSBT_TRANSIENT WINDOW, DWMSBT_MAINWINDOW, DWMSBT_TABBEDWINDOW, DWMWA_SYSTEMBACKDROP_TYPE; in the file MenuRendering.cpp : MENU_POPUPITEMKBFOCUS, MENU_POPUPITEM_FOCUSABLE, MENU_POPUPITEMKBFOCUS. What to do about it, please tell me. I really want to have a working project and implement my ideas on it. Apparently, there are no other necessary libraries here. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
Just use Visual Studio 2022 and install the latest SDK and you'll be fine. Or, define these things yourself according to MSDN. |
Beta Was this translation helpful? Give feedback.
-
The header error has already disappeared, but the errors remain. I probably need to configure the studio. Please don't leave me) They told me: don't mess with C++)) |
Beta Was this translation helpful? Give feedback.
bandicam.2024-04-14.23-44-14-343.mp4
As the video I uploaded demonstrates, no changes are required.
I don't know why your Visual Studio has enabled support for C++20 module, turn them off as the image shown above.