Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

VS 2013 Premium : Resource Editor Error RC2108 expected numerical dialog constant

$
0
0

All I did was copy a .rc file from VS2010 into VS2013 and remove 1 string constant.

VS2013 has cleverly substituted the numerical constant in field 1 of all my bitmap controls :-

CONTROL   472,IDC_STATIC,"Static",SS_BITMAP,30,155,86,35

for its equivalent Label value in resource.h (IDB_30MPH) plus a few other changes to get :-

CONTROL    IDB_30MPH,IDC_STATIC,65,42,46,43,NOT WS_GROUP

The compiler now gives the error :-

RC2108 expected numerical dialog constant

There is a #include <resource.h> at the top of the .rc file

I am using the release version of VS2013 and can easily edit the .rc file BUT SOMETHING IS NOT QUITE RIGHT IN THE RESOURCE EDITOR/COMPILER


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>