VC++常见编译错误(大部分基于VS2013)

1.

VS2013下,MFC在使用picture console控件之后往往会弹出这个错误:
error RC2108: expected numerical dialog constant

解决:把资源文件这行       CONTROL         IDB_BITMAP1,IDC_STATIC,89,33,114,114,NOT WS_GROUP
改成                                   CONTROL         IDB_BITMAP1, IDC_STATIC, "Static", SS_BITMAP, 89,33,114,114, NOT WS_GROUP

2.

 

posted @ 2020-02-19 11:08  htj10  阅读(249)  评论(0编辑  收藏  举报
TOP