I have just started to use Borland c++ and have a problem with the first OWL
programs that I have tried. I entered the programs from "Teach yourself
Borland C++ 4 in 21 Days". Instead of entering the .rc files from the book I
used the Resource Workshop to create them. The first program ran but did not
display the menu created in RW. On examing the .rh file produced by RW there
was the line
#define MAINMENU 1
I removed this line, recompiled the program and it worked???
The second program I entered was to display a dialog box. Again I used the
Resource Workshop to produce the dialog. The program crashed with a GPF. On
checking the .rh file there was a line
#define DIALOG1 1
I removed this line and recompiled the program. It worked.
I'm sure I must be doing something wrong either in the C++ code or in the
Resource Workshop. As I am new to C++ I'm not sure where to look. Can any one
help???
--- Maximus 2.02
---------------
* Origin: Infoboard - Auckland - (09) 833-8788 - (3:772/140)
|