Error RC2104 undefined keyword or key name solution after VS project upgrade

Error RC2104: undefined keyword or key name solution after VS project upgrade

question:

After the project created by VS is opened and upgraded with a new version, the resource view cannot be opened, and an error message appears error RC2104: undefined keyword or key name WS_EX_NOINHERILAYOUT

reason:

If you upgrade the VS project and find that *.rcafter editing, there is a compilation error, error RC2104: undefined keyword or key name, basically because during the upgrade, the *.rcone in the middle was #include <windows.h>removed and a resouce.h was added.

Solution:

Just add it to the lieutenant *.rc.#include <windows.h>

concluding remarks

have a pleasant workday!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325401351&siteId=291194637
Recommended