Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,044 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Experts,
I have got the error "RC1011 compiler limit: 'E-SafeNet': macro definition too big ColorDetector E:\C++Project\ColorDetector\resource.h 1 " when I try to create a MFC project on my VS2022. I just followed the guidance to create the MFC project based on dialog and then I debugged the project and got this error. I don't know how to correct it since I did not change anything. I also tried to download VS2022 again to see if there were something wrong for my VS2022 but still could not help.
The Resource.h file is like that:
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ 生成的包含文件。
// 由 ColorDetector.rc 使用
//
#define IDR_MAINFRAME 128
#define IDM_ABOUTBOX 0x0010
#define IDD_ABOUTBOX 100
#define IDS_ABOUTBOX 101
#define IDD_COLORDETECTOR_DIALOG 102
// 新对象的下一组默认值
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 129
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 32771
#endif
#endif
So, please some one can explain me why this happened? and how to solve this?...
Thanks in Advance,
QC