I have my .rc file working just fine with Microsoft Community 2015. I do not use Borland, or it's resource compiler.
When I did move several years ago, there were some controls in the .rc that were specific to Borland. You will need to identify those and change them.
You may need the following at the top of your .rc file:
- Code: Select all Expand view RUN
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#ifndef WC_TABCONTROL
#define WC_TABCONTROL "SysTabControl32"
#endif
#ifndef WC_XBROWSE
#define WC_XBROWSE "TxBrowse"
#endif
Icons, bitmaps, etc. are linked in with this format:
- Code: Select all Expand view RUN
APPT BITMAP "HRCALNDR.bmp"
CALC BITMAP "smcalc.bmp"
CHECK BITMAP "CHECK.bmp"
CLIENT BITMAP "CLIENT.bmp"
And here is a simple dialog:
- Code: Select all Expand view RUN
CHKSTB DIALOG 0, 0, 460, 185
STYLE WS_POPUP | WS_CAPTION
CAPTION "Check Stub Text"
{
EDITTEXT 302,10,25,440,100,ES_MULTILINE | ES_WANTRETURN | WS_VSCROLL
PUSHBUTTON "",300,185,135,40,40
PUSHBUTTON "",301,250,135,40,40
LTEXT "Enter, or edit, the information to be printed on the check stub:",-1,10,10,300,13
}
I believe Borland will use the same format successfully. The main thing is to be sure and remove any Borland specific controls.
Tim