TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: CHRISTOPHER BUTLER
date: 1997-07-04 11:42:00
subject: Help me!

Hi All!
I've got a program here, and it compiled fine a while ago, then I left it for 
a bit... I've come back to it, and it crashes when it tries to do a getch()!
A bit of code that it crashes on:
char i;
if (inp(0x64) & 1)  // same as kbhit()
    i = getch();
else
    i = 0;
If I press a key then, the DOS box (or whole computer in DOS mode) just 
crashes...
Help me!
I'd be willing to give someone the entire source privately, as long as it 
isn't distributed, I put a lot of work into it..
Chris
--- FMail/Win32 1.22
---------------
* Origin: Death Butler BBS, +44-1582-620141, 24 Hours (2:257/135)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.