Program Compiles But Won't Run

Does anyone here work with the programs in Charles Petzold's "Windows" books? I am asking because I am trying to get his "Typer" program to work. It complies, opens a window, then freezes. Honestly, I am clueless on this one. Has anyone worked with this particular program? If necessary, I could try to post the entire code (it is a bit lengthy).
he was one of the go-to authors for all window's coders for a long, long time, may still be, I have not kept up.
How old is the book you have?
Petzold's Programming Windows 5th Edition code needs some revising to compile and work. Someone has done a lot of that work already:

https://github.com/recombinant/petzold-pw5e
Registered users can post here. Sign in or register to post.