I think I may have been a little vague in my initial
I am running a 16 bit program using CreateProcess. I then
use WaitForSingleObject to wait for the program to
finish. I occasionally get a GPF error in the 16 bit
application, so I have set the timeout property to return
control to the master program. If a timeout occurs I was
hoping to close the 16 bit program using TerminateProcess
(As far as I am aware, this is the only process that I can
use for this).
However, I am experiencing problems because I can't close
the 16 bit program using TerminateProcess. I think that
this is because because it's a 16 bit application, and
hence runs inside NTVDM.