This demo equips toolbook with a console window. It runs under both windows 95 and windows NT 4.0. A console window looks like a dosbox, but one that can be written and read from by toolbook. So toolbook can emulate for instance a legacy application including key and mouse handling.
It runs fine under windows 95 unless you press either CTRL-C or CTRL-BREAK in which case toolbook will crash (although the API says it shouldn't). Windows NT 4.0 preforms much better and lets toolbook handle the CTRL-C and quits (very fast, but clean) if CTRL-BREAK is pressed.