Thread overview
WINIO keyboard input
Jun 19, 2001
Mark Evans
Jun 19, 2001
Jan Knepper
Jun 19, 2001
Mark Evans
June 19, 2001
My WINIO 16-bit app works well.  Printf goes to screen (the WINIO text window).

Somehow scanf doesn't seem to work as well.  It basically hangs the program.  Evidently I'm doing something fundamentally wrong but it's not clear what.  Advice?

Thanks.

Mark Evans


June 19, 2001
> Somehow scanf doesn't seem to work as well.  It basically hangs the program.  Evidently I'm doing something fundamentally wrong but it's not clear what.  Advice?

Code snippet would help...


June 19, 2001
We're talking scanf and getchar for example.  Just as you would use them in DOS.

My understanding of WINIO is that it redirects stdin and stdout so that the WINIO console window works more or less like a DOS window with some extra capabilities associated with Windows messaging (menus and the like).

My program is littered with printf's and they all work fine.  That would be stdout.  It's the stdin that seems to have a problem.

Mark


On Tue, 19 Jun 2001 14:07:45 -0400, Jan Knepper <jan@smartsoft.cc> wrote:
> > Somehow scanf doesn't seem to work as well.  It basically hangs the program.  Evidently I'm doing something fundamentally wrong but it's not clear what.  Advice?
> 
> Code snippet would help...
> 
>