Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Error "RC2108: expected numerical dialog constant" after project migration from VS2008 to VS2013

$
0
0

We have just migrated a MFC/CLR VS2008 solution to VS2013. Modifying a resource in VS2013, i.e. Version information, breaks the .rc file causing the above error when compiling.

Here's a snippet of the resource file after migration in it's working state...

IDD_PAGE_OPTIONS_FINISH DIALOGEX 0, 0, 320, 245
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CAPTION | WS_SYSMENU
CAPTION "Finish"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN    
  LTEXT     "Static",IDC_STATIC_CAPTION,150,7,163,231    
CONTROL 133,IDC_STATIC,"Static",SS_BITMAP,7,7,133,231 END

After modifying resources using the VS2013 IDE, it is broken....

IDD_PAGE_OPTIONS_FINISH DIALOGEX 0, 0, 320, 245
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CAPTION | WS_SYSMENU
CAPTION "Finish"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN    
  LTEXT     "Static",IDC_STATIC_CAPTION,150,7,163,231    
CONTROL IDB_OPTIONS,IDC_STATIC,7,7,133,231,NOT WS GROUP END

This  has stopped us in our tracks. Is there a pre-release patch to fix this issue?

Thanks in advance.




Viewing all articles
Browse latest Browse all 15302

Trending Articles



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