Mail Archives: djgpp/1996/12/14/05:23:50
Marc Feeley wrote:
>
> Thanks for your response. I am running the program from a dos box in
> Windows-NT 3.51 and am using DJGPP v2.0 and CWSDPMI release 2. If I'm
> not mistaken, CWSDPMI won't be used in this case right? Could this be
> the reason why the program behaves differently for you? Anyway when I
> run the program a ctrl-c will immediately terminate the program after
> "^C" is displayed. I would like the program to display "interrupt"
> and then go on to read the next character. Is this what you get?
Windows NT may be the problem, actually. If a DJGPP program detects
that DPMI already exists, it will not load CWSDPMI, but will attempt to
use whatever DPMI is already present. It is possible that WinNT is
preventing your program from hooking the SIGINT interrupt the way you
want.
BTW, I ran it successfully under Windows 3.1 as well as under
DOS/CWSDPMI. I don't have Windows 95 or NT, so I can't test those.
I don't know enough about NT to know this; is there a way you can boot
directly to DOS, bypassing Windows NT? If so, try your program out like
that -- it should work. If it does, then NT is definitely the problem.
A note on versions: It seems like you are a step behind everybody
else. ;) The latest versions of each of the things you mentioned are:
Windows NT 4.0
DJGPP v2.01
CWSDPMI release 3
It is _possible_ that upgrading to WinNT 4.0 will solve your problem...
but this is just a guess.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Descent 2: The Infinite Abyss - The greatest Internet game of all |
| time just got better! This time, you're going all the way down...|
---------------------------------------------------------------------
- Raw text -