Thanks for replying.
I'm not using the command line, I am using the GUI, and very pretty it is too!
However, it seems I still need some kind of command line knowledge. For example, in the Project Options dialog, there are text fields for "Library and Object Files", and for "Command Line Options (LINKFLAGS)". This stuff is all new to me.
But I am making some kind of progress. I've managed to get Petzold Chapter 3 to run, by adding winmm.lib to the end of a list, so I can't the as stupid as I thought...
bobw