Apologies for not getting it ready last week as I said I would.
2 kids - a 2.5 year old girl and a 10 week old boy - need I say more.
It can be downloaded at the usual spot:
http://www.users.bigpond.net.au/joe_blade/cmd/Howard, apols about not yet sending you a post, will definately do it tommorrow (from work).
A big thanks for the +ve feedback from all that have given it a go.
Changes are as follows:
* v 0.05 09/07/2003
Fixed a bug that I found myself. If the emulator exit'd (due to it recognising
the exit key being pressed), and the cmd wrapper 'missed' this keystroke (it was
possible as the sleep time between checking was quite high), then the emulator
would exit, but the cmd wrapper would keep running, and the focus would not
return to the FE.
I did 3 things to fix this:
(1) Made the default 'sleep time between checking for the exit key' lower. It is
now 1/10th of a second (100 ms).
(2) Made the 'sleep time between checking for the exit key' configurable in the
cmd.ini file. It always actually was, I just didn't publicise the fact.
Refer to the sample cmd.ini file for further information.
(3) Added code so that when checking for the key press, it also checks that the
spawned process (the emulator) is still running. If it isn't, then the cmd
wrapper exits, and the focus will return to the FE.
Also added some extra logging, in the area of exiting the spawned executable.
Created the keycodes.txt file. This file provides decimal and hex values for
the virtual key codes.
Cheers
Martin
