Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error in resource file 1

Status
Not open for further replies.

computerwhiz

Programmer
May 1, 2002
28
US
I keep getting this error and I don't understand why.

error:
Line 22 in file resource.rc : parse error

Code:
#include "Main.h"

ABOUTBOX DIALOGEX 22, 17, 171, 59
STYLE DS_MODALFRAME | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU
CAPTION "Check Parser"
FONT 8, "MS Sans Serif"
{
   CONTROL "A", -1, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 3, 14, 16, 16
   CONTROL "Created by Dave Dartt", -1, "STATIC", SS_LEFT | WS_CHILD
   | WS_VISIBLE | WS_GROUP, 28, 4, 100, 8
   CONTROL "Version 7.0.0", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE
   | WS_GROUP, 28, 14, 100, 8
   CONTROL "Parse JDE check remittance into a csv file for Excel import.", -1,
   "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 28, 24, 120, 16
   CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE
   | WS_GROUP | WS_TABSTOP, 116, 42, 50, 14
}

FileAccel ACCELERATORS
{
  "c",  IDC_BUTTON1; //c
  "C",  IDC_BUTTON1; //C (shift C)
  "h",  IDC_BUTTON2; //h
  "H",  IDC_BUTTON2; //H (shift H)
  "l",  IDC_BUTTON3; //l
  "L",  IDC_BUTTON3; //L (shift L)
  "x",  IDC_BUTTON4; //x
  "X",  IDC_BUTTON4; //X (shift X)
  "a",  IDC_BUTTON5; //a
  "A",  IDC_BUTTON5; //A (shift A)
}
 
Well, my accel table usually looks kinda like this:

Code:
IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
BEGIN
    "A",            ID_EDIT_SELECT_ALL,     VIRTKEY, CONTROL, NOINVERT
    "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
    "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
    "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
    "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
    "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT

/Per

"It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."
 
I knew it had to be something stupid that I did wrong. I was putting a semicolon at the end and I should not have. thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top