Mail Archives: djgpp/2001/02/14/06:47:10
On Wed, 14 Feb 2001, Michael N. Kondaurov wrote:
> I use DJGPP for creating Win95 applications to work in DOS box.
> Now I want to create Win95 console application because I need to use
> Win95 Com port driver ( CreateFile ... ets).
>
> But when I call to "kbhit", "getch" - my program crash:
>
> Exception at ....
> Application got signal SIGSEGV.
Did you make sure the program gets built as a console application? I
don't remember the details, but IIRC this requires special switches
during compilation and/or linking, and perhaps also special libraries.
(Sorry for being so vague.)
- Raw text -