[Mono-list] Console Help!
Thong (Tum) Nguyen
tum@veridicus.com
Wed, 7 May 2003 04:06:25 +1200
I'm don't think that would work. Console.Read() won't return until the
user presses enter. I'm don't think there's a completely managed way to
read the keyboard :-\.
^Tum
> -----Original Message-----
> From: mono-list-admin@lists.ximian.com [mailto:mono-list-
> admin@lists.ximian.com] On Behalf Of Jaroslaw Kowalski
> Sent: Wednesday, 7 May 2003 2:25 a.m.
> To: eduardoo@antar.com.mx; mono-es; mono-ximian
> Subject: Re: [Mono-list] Console Help!
>
> Have you tried Console.Read() ??
>
> It seems to have the same semantics as getch() (-1 = EOF, otherwise
cast to
> (char) and you have your input).
>
> Jarek
>
> P.S. I haven't tried it, but VS.NET docs say it should work.
>
> ----- Original Message -----
> From: "Eduardo Osorio Armenta" <e_osorio@yahoo.com>
> To: "mono-es" <mono-hispano@es.gnome.org>; "mono-ximian"
> <mono-list@lists.ximian.com>
> Sent: Tuesday, May 06, 2003 4:00 PM
> Subject: [Mono-list] Console Help!
>
>
> > Hi i hope someone help me!
> >
> > i DllImport the _getch() of "MSVC.dll"
> >
> > but i want to resemble the getch() function of 'C'
> > but with pure C# code.
> >
> > thanks
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> > _______________________________________________
> > Mono-list maillist - Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list