I am trying to compile an example from Petzold's Programming Windows and am getting the error: "Error E2040 hexcalc\hexcalc.dlg 1: Declaration terminated incorrectly". I thought the examples should just work. I have attached the files copied straight out of the book (note rename the .txt file to .dlg). I haven't used bcc very often and have not had this error before.
I am using Borland C++ 5.5.1.