From: nobu.nokada@... Date: 2002-09-09T18:18:32+09:00 Subject: Re: Equivalent of pascal's keypressed ? Hi, At Mon, 9 Sep 2002 17:50:46 +0900, Park Heesob wrote: > > > kbhit = Win32API.new("crtdll", "_kbhit", [], 'L') > > > getch = Win32API.new("crtdll", "_getch", [], 'L') > > > > Why "crtdll" rather than "msvcrt"? > > > > -- > > Nobu Nakada > > > I don't know. > Just quote from the Ruby source code (/ext/Win32API/getch.rb). Hmmm, it's too old. Now mswin32/mingw32 version use msvcrt.dll by default, and Termios should be better under cygwin. -- Nobu Nakada