程序编译时出现 error C2065: 'IDC_HIDE' : undeclared identifier后在 resource.h文件中手动定义了一个 #define IDC_HIDE  2000。2000这个值随便给滴。结果编译无问题,运行出问题了。 Unhandled exception at 0x004a303b in ...exe; 0xC0000005:Access violation reading location 0x00000050.大概是说指针错误吧。 我觉得应该是 #define IDC_HIDE  2000 这个 2000引起的。可我不知道这个地方要放个什么值。恳请高人指点。